Description Usage Arguments Value Examples
View source: R/brownian_motion_package.r
This function will remove data corresponding to genes that are members of groups.to.remove.
1 | remove.from.genome(dat, groups, groups.to.remove)
|
dat |
gene expression data, rows are species, columns are gene, including colnames. |
groups |
a list of gene groups, in the same format as the output of read.groups |
groups.to.remove |
a vector of group names, the members of which will be removed from dat |
A new matrix of data with the genes that belonged to groups.to.remove gone.
1 2 3 4 5 6 | data(yeast)
GO.groups.pruned = good.groups(colnames(yeast.hybrid),GO.groups,10)
dim(yeast.hybrid)
to_remove = setdiff(names(GO.groups),GO.groups.pruned)
yeast.hybrid.pruned = remove.from.genome(yeast.hybrid,GO.groups,to_remove)
dim(yeast.hybrid.pruned)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.