From: Shana White <vandersm@mail.uc.edu>
git-svn-id: file:///home/git/hedgehog.fhcrc.org/bioconductor/trunk/madman/Rpacks/KEGGlincs@130418 bc3139a8-67e5-0310-9ffc-ced21a209358
1 | 1 |
deleted file mode 100644 |
... | ... |
@@ -1,54 +0,0 @@ |
1 |
-title: "Cytoscape Formatting" |
|
2 |
-author: "Shana White" |
|
3 |
-date: "`r Sys.Date()`" |
|
4 |
-output: rmarkdown::html_vignette |
|
5 |
-vignette: > |
|
6 |
- %\VignetteIndexEntry{KEGGlincs Workflows} |
|
7 |
- %\VignetteEngine{knitr::rmarkdown} |
|
8 |
- %\VignetteEncoding{UTF-8} |
|
9 |
- |
|
10 |
-##Manually format pathway maps for convenient viewing and proper node size |
|
11 |
-The following two steps must be followed to reproduce the pathway maps as seen |
|
12 |
-in the workflows for users without RCy3 available on their system. If RCy3 is |
|
13 |
-available, please use the functions `cyto_vis_auto` and `KEGG_lincs_auto` |
|
14 |
-from https://github.com/uc-bd2k/KEGGlincs/blob/master/R/cyto_vis_auto.R and |
|
15 |
-https://github.com/uc-bd2k/KEGGlincs/blob/master/R/KEGG_lincs_auto.R. |
|
16 |
- |
|
17 |
-Otherwise please follow the steps outlined below. |
|
18 |
- |
|
19 |
-### 1) Autofit content to window |
|
20 |
- |
|
21 |
-```{r autofit,eval=TRUE,echo=FALSE,out.width=800} |
|
22 |
-knitr::include_graphics("image_files/fit_content.jpg") |
|
23 |
-``` |
|
24 |
- |
|
25 |
-### 2) 'Re-lock' the node width and height |
|
26 |
-Neither this package's author nor other collaborators working on similar |
|
27 |
-projects using Cytoscape via cyREST understand why this step is neccessary. |
|
28 |
- |
|
29 |
-First, locate the 'Style' tab under the Control Panel |
|
30 |
- |
|
31 |
-```{r locate_style,eval=TRUE,echo=FALSE,out.width=800} |
|
32 |
-knitr::include_graphics("image_files/select_style_tab.jpg") |
|
33 |
-``` |
|
34 |
- |
|
35 |
-Then, scroll down [if needed] to the bottom of the window and locate the box |
|
36 |
-labelled "Lock node width and height". |
|
37 |
- |
|
38 |
-```{r find_box,eval=TRUE,echo=FALSE,out.width=800} |
|
39 |
-knitr::include_graphics("image_files/find_box.jpg") |
|
40 |
-``` |
|
41 |
- |
|
42 |
-The box should be checked; uncheck the box, then re-check it - the nodes should |
|
43 |
-then convert to their intended width/height format. |
|
44 |
- |
|
45 |
-##Modify the threshold to label edges even if desired pathway has many edges |
|
46 |
- |
|
47 |
-If a pathway has a large number of edges (for example the Fox0 pathway |
|
48 |
-showcased in Workflow 1), users can adjust Cytoscape settings to render the |
|
49 |
-edge labels by selecting following the path Edit > Preferences > Properties and |
|
50 |
-selecting render.edgeLabelThreshold. Click 'Modify' and increase the value as |
|
51 |
-desired [or until edge labels become visible]. The default setting in |
|
52 |
-Cytoscape is 200. |
... | ... |
@@ -163,15 +163,6 @@ edges connecting nodes) or have not been hard-coded in the KGML file. The node |
163 | 163 |
labels may also differ between maps (KEGGlincs labels nodes as the first 'alias' |
164 | 164 |
in the respective KGML slot as there is no corresponding 'label' slot). |
165 | 165 |
|
166 |
-*Note: to have the pathway maps automatically formatted for convenient viewing |
|
167 |
-and proper node size, please use the function `cyto_vis_auto`: |
|
168 |
-https://github.com/uc-bd2k/KEGGlincs/blob/master/R/cyto_vis_auto.R |
|
169 |
-This function requires systems to have the R package RCy3 installed, which is |
|
170 |
-not yet available for all systems. |
|
171 |
- |
|
172 |
-Otherwise please follow the steps under `CytoscapeSettings.Rmd` to reproduce |
|
173 |
-the maps generated in this vignette. |
|
174 |
- |
|
175 | 166 |
#####Alternative: KEGG_lincs master function |
176 | 167 |
The steps above may be avoided if the user does not wish to generate |
177 | 168 |
intermediary files/objects by making use of the function `KEGG_lincs` as |