revMap: Reverse Mapping

Description Usage Arguments Details Value Note Author(s)

Description

Reverse a list of genes-to-categories to a list of categories-to-genes

Usage

1
  revMap(map)

Arguments

map

Output from the getgo function in goseq

Details

This function (reversemapping) is contained in the goseq package but not exported. We use this function to facilitate reverse-mapping of the gene-to-category list.

Value

A list with the reversed gene2cats, i.e., entry names are GO terms, and elements are corresponding gene names

Note

This function is written by Matthew D. Young and is used in the goseq package. See goseq:::reversemapping.

Author(s)

Matthew D. Young myoung@wehi.edu.au, Gu Mi mig@stat.oregonstate.edu, Yanming Di diy@stat.oregonstate.edu


gu-mi/GOglm documentation built on May 14, 2019, 7:42 a.m.