GeneOverlapAcrossComps | R Documentation |
Given a set of genes and a dataframe of gene expression values across multiple components, this function computes the number of overlapping genes in the top Ngenes
of each component with the input gene set.
GeneOverlapAcrossComps(GeneSet, compDF, Ngenes = 10, verbose = T)
GeneSet |
a character vector of gene names to compare across the components |
compDF |
a data.frame object containing gene expression values across components, where each column corresponds to a component and each row to a gene |
Ngenes |
the number of genes to consider in the top overlap |
verbose |
a boolean indicating whether to print the top found genes for each component |
A named list of length equal to the length of the input GeneSet
, where each element of the list is a numeric vector of length equal to the number of components in compDF
representing the number of overlapping genes in the top Ngenes
of each component with the input gene set.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.