sm.name {GeneNT} | R Documentation |
This function extracts gene names from data matrix and use it for output.
sm.name(m)
m |
M is a data matrix |
Returns a vector object of gene names.
Dongxiao Zhu (http://www-personal.umich.edu/~zhud)
Zhu, D., Hero, A.O., Qin, Z.S. and Swaroop, A. High throughput screening of co-expressed gene pairs with controlled False Discovery Rate (FDR) and Minimum Acceptable Strength (MAS). Submitted.
# load GeneNT and GeneTS library library(GeneTS) library(GeneNT) #EITHER use the example dataset data(dat) #OR use the following if you want to import external data #dat <- read.table("gal.txt", h = T, row.names = 1) #Note, data matrix name has to be "dat" #calculate correlation matrix M <- cor(t(dat)) #extract gene names (matrix object) from the correlation matrix #NL <- sm.name(M)