good.groups: Find groups represented in the data

Description Usage Arguments Value Examples

View source: R/brownian_motion_package.r

Description

This function takes in the list of genes for which gene expression data are available as well as the list of gene groups produced by read.groups and a minimum size (min_size) and returns those genes that have at least min_size genes with data available

Usage

1
good.groups(genes, groups, min_size = 2)

Arguments

genes

a vector containing the names of each gene for which expression data is available

groups

a list of gene groups, in the same format as the output of read.groups

min_size

the minimum size of groups to be considered

Value

A vector of group names that had at least min_size genes represented in the data

Examples

1
2
3
4
data(yeast)
length(GO.groups)
GO.groups.pruned = good.groups(colnames(yeast.hybrid),GO.groups,10)
length(GO.groups.pruned)


PIGShift documentation built on May 19, 2017, 10 p.m.
Search within the PIGShift package
Search all R packages, documentation and source code

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

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

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