Description Usage Arguments Value Author(s) Examples
View source: R/lungFunctionsForWGCNA.R
Gene filtering based on the mean expression level and standard deviation for each gene across samples.
1 | geneFilter(dat, mean.thred, sd.thred)
|
dat |
Expression matrix with genes in columns and samples in rows. |
mean.thred |
Threshold for mean. |
sd.thred |
Threshold for standard deviation. |
Indices of genes that should be kept after the filtering.
Yun Zhang
1 2 3 4 | data(lungData)
dat <- t(lungData)
i.keep <- geneFilter(dat = dat, mean.thred = 6, sd.thred = 3)
newdat <- dat[i.keep,]
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.