Category:Protocols: Difference between revisions

Category page
No edit summary
(Blanked the page)
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:22, 16 August 2012

Subcategories

This category has the following 22 subcategories, out of 22 total.

A

B

C

D

E

F

G

L

M

N

P

T

U