Sandbox
Welcome to the Course Wiki Sandbox! This page is for editing experiments. Feel free to try your skills at formatting here. To edit, click the edit tab at the top of the page, make your changes in the dialog box, and click the Save page button when you are finished. Content added here will not stay permanently. Please note that you have to be registered and logged in for changes. If you would like to try a Wiki Sandbox but don't want to register, you can use the Wikimedia Sandbox.
For information on how to edit pages see the Editing help page.
Please edit below
Sample Journal
Contents
<my activity>
- Objective
- text ...
Time estimated: XXX h; taken XXX h;
Date started: 2020-MM-DD; completed: 2020-MM-DD
Progress
- Activity 1
- Notes ...
- Activity 2
- Notes ...
Conclusion and outlook
Describe ...
(Example Journal Entry) Explore Cytoscape
- Objective
- Write R code to generate a random network. Explore it with Cytoscape.
Time estimated: 2 h; taken 4 h;
Date started: 2017-09-16; completed: 2017-09-18
Progress
- R code for a random network.
- Cytoscape can read networks in SIF format. Wrote the following code to generate N random nodes with random interactions and write them to file.
My R code below ...
- Install Cytoscape
- Straightforward installation of Cytoscape 3.5.1 from http://www.cytoscape.org
- Visualize and explore options
- Worked through an introductory tutorial from http://opentutorials.cgl.ucsf.edu/index.php/Tutorial:Introduction_to_Cytoscape_3.1-part2 Noteworthy: nodes can be coloured by attribute values.
- Loaded my own SIF file with the File → Import → Network → File option. Explored various layout options and visualization styles. Manually added nodes and edges with the options one gets when ctrl-clicking on the canvas.
Conclusion and outlook
- Creating layouts, applying styles, adding nodes and edges with Cytoscape seems straightforward and creates evocative images.
- Analyzing and interpreting the network needs more thought. Need to explore ideas and tools for network analysis next - e.g. clustering tools, enrichment tools, motif discovery ...
- Next: write some code to create attribute values for nodes, import the values, and have Cytoscape style the nodes accordingly.
Notes and References
This copyrighted material is licensed under a Creative Commons Attribution 4.0 International License. Follow the link to learn more.
GeSHI
a <- 5 # just a simple test
a
[1] 5
b <- "test"
c <- rnorm(1, 100)
plot(b, d, xlim=c(1,100)) # margins?
for (1:100) do { this }
Expand