get_annotated_genes: Get annotated gene list

Description Usage Arguments Value See Also

View source: R/annotation.R

Description

Extract the genes associated with terms from the annotation matrix.

Usage

1
get_annotated_genes(anno.matrix, species = "Human", gene.symbol = TRUE)

Arguments

anno.matrix

A logical matrix indicated the annotations, with each row represents a gene and each column denotes a term. The row names and column names are set as the corresponding gene and term ID respectively. See get_annotations for more information.

species

A string indicated the species name used for translating gene ID to symbols.

gene.symbol

A logical variable indicated whether use the gene symbol in the output instead of the central ID.

Value

This function will return a vector of strings, which is the concatenated IDs (or symbols) of the genes annotated by the corresponding term.

See Also

get_annotations


wulingyun/CopTea documentation built on Dec. 4, 2019, 2:59 p.m.