View source: R/annotationVectorSpace.R
constructAnnotationVectorSpace | R Documentation |
genes
construct a vector space based on the distinct
annotations found for the respective genes in arument annot.df
. Each
distinct annotation will be an axis, each gene will be assigned a vector,
with coordinates the discrete number of times an annotation has been
assigned to the respective gene.For the argument genes
construct a vector space based on the distinct
annotations found for the respective genes in arument annot.df
. Each
distinct annotation will be an axis, each gene will be assigned a vector,
with coordinates the discrete number of times an annotation has been
assigned to the respective gene.
constructAnnotationVectorSpace(genes, annot.df = all.ipr, gene.col = 1,
annot.col = 2)
genes |
A character vector of gene IDs |
annot.df |
A data.frame or matrix holding the gene annotations. Default
is |
gene.col |
The column name or number of |
annot.col |
The column name or number of |
NA
if no annotations are found for any gene in genes
,
otherwise a data.frame with a column gene
in which the gene IDs are
held and one column for each distinct annotation or the respective vector
space axes.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.