calcFraction: calculate fraction of genes annotated to GO terms

Description Usage Arguments Details Value

Description

For the supplied list of GO 2 gene annotations, and lists of genes, calculate the what fraction of a GO term is in the gene list.

Usage

1
  calcFraction(go2gene, geneList)

Arguments

go2gene

list of GO terms and genes they annotate

geneList

list of character vectors of genes

Details

returns a data.frame with the total count, and fraction for each of the gene lists supplied, suitable for plotting in ggplot2.

Value

data.frame


rmflight/ccPaper documentation built on May 27, 2019, 9:31 a.m.