clusterAnnotation | R Documentation |
Scans for overlap enrichments of a clustering in a matrix of
clusterings, potentially simply a TRUE/FALSE table, eg. indicating
annotation with a specific Gene Ontology or other term. This input
table can be generated eg. with parseAnnotation
or
parseAnnotationList
. The function reports
tables of all overlap sizes and their enrichment p-values. The
function is a wrapper around clusterCluster
, which
performs cumulative hypergeometric distribution tests between
two clusterings. The result object can be used with
sortOverlaps
and plotOverlaps
.
clusterAnnotation(
cls,
data,
p = 1,
cls.srt,
terms = NULL,
replace.terms = FALSE,
bin.filter,
verbose = TRUE
)
cls |
a character or numeric vector with the main clustering |
data |
a string, numeric or logical matrix with other categorizations
of genes. Data rows must correspond to clustering in argument |
p |
p-value threshold reporting overlaps |
cls.srt |
a numeric ar string vector indicating a cluster sorting,
allows also to analyze only a subset of clusters in argument |
terms |
optional map of annotation key to descriptions |
replace.terms |
replace annotation terms by the descriptions
in argument |
bin.filter |
string, indicating bins (categories in |
verbose |
print progress messages |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.