remove.from.genome: Remove genes from a specified group from the data

Description Usage Arguments Value Examples

Description

This function will remove data corresponding to genes that are members of groups.to.remove.

Usage

1
remove.from.genome(dat, groups, groups.to.remove)

Arguments

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

Value

A new matrix of data with the genes that belonged to groups.to.remove gone.

Examples

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)


Search within the PIGShift package
Search all R packages, documentation and source code

Questions? Problems? Suggestions? or email at ian@mutexlabs.com.

Please suggest features or report bugs with the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.