Category:Protocols: Difference between revisions
Category page
(Created page with "This page contains a list of all the protocols among all the projects that we work on.") |
No edit summary |
||
Line 1: | Line 1: | ||
==Load the data== | |||
The data can be prepared in csv or text file to load the data in to R | |||
===Type: read.csv("your file name.csv")=== | |||
e.g data <- read.csv (“list.csv”) | |||
==To name the rows of the heat map== | |||
===Type: Row.names(data) <- data$Name=== | |||
==To exclude the first column from the heat map== | |||
===Type:Data <- data [,2: n]=== | |||
where n is the number of columns to be included in the heat map | |||
==To change the loaded data in to data matrix== | |||
===Type: Data_matrix <- data.matrix (data)=== | |||
==To use gnuplot library== | |||
Note: Gnuplot package must be installed in R. | |||
===Type:library("gplots")=== | |||
==To make heat map== | |||
===Type: heatmap.2 (Data_matrix, dendrogram="row", col= redgreen (75), scale="none", key = TRUE, keysize = 1.0, margins = c(4,30), density.info="none", trace="none")=== |
Revision as of 02:17, 16 August 2012
Load the data
The data can be prepared in csv or text file to load the data in to R
Type: read.csv("your file name.csv")
e.g data <- read.csv (“list.csv”)
To name the rows of the heat map
Type: Row.names(data) <- data$Name
To exclude the first column from the heat map
Type:Data <- data [,2: n]
where n is the number of columns to be included in the heat map
To change the loaded data in to data matrix
Type: Data_matrix <- data.matrix (data)
To use gnuplot library
Note: Gnuplot package must be installed in R.
Type:library("gplots")
To make heat map
Type: heatmap.2 (Data_matrix, dendrogram="row", col= redgreen (75), scale="none", key = TRUE, keysize = 1.0, margins = c(4,30), density.info="none", trace="none")
Subcategories
This category has the following 22 subcategories, out of 22 total.
A
- AutoDock (2 P)
B
- Bioscreen (4 P)
C
- Cell Culturing (16 P)
- Computer Simulation (4 P)
D
- Demos (12 P)
E
F
- FAST-NMR (6 P)
G
- Gel (2 P)
- General Maintenance (14 P)
L
- Lab Safety (14 P)
M
- Molecular Docking (1 P)
- MVAPACK (4 P)
N
- Needs Updating (25 P)
P
- Proteomics (empty)
S
- Sample Preparation (9 P)
T
- Troubleshooting (2 P)
U
- Update Wiki (3 P)