Description Usage Arguments Value
View source: R/test_spot_enrichment.R
perform enrichment testing based on differential gene expression analysis
1 2 3 4 5 6 7 8 | test_spot_enrichment(
analysis.data,
counts,
db_dataset = "mmusculus_gene_ensembl",
gene_id = "hgnc",
ncores = 4,
mirror = NULL
)
|
analysis.data |
output of analyze_clustering |
counts |
numeric non-negativ matrix containing gene expression for all spots (spots x genes) |
db_dataset |
ensembl dataset to use. default "mmusculus_gene_ensembl" (mouse), for human data use "hsapiens_gene_ensembl" |
gene_id |
character denoting the gene symbols to use; default "hgnc" for HGNC symbols; use "ensembl" for ensembl gene ids |
ncores |
integer > 0, number of cores to use |
mirror |
string indicating ensembl mirror site; must be one of "standard", "uswest", "useast", "asia"; default is "standard" |
list containing two entries:
enrichments - matrix contining p-values of enrichments test for
each spot and GO term enriched in at least one spot(terms x spots)
term.names - character vector containing full names of the GO ids in the enrichment matrix
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.