View source: R/check_ewce_genelist_input.r
check_ewce_genelist_inputs | R Documentation |
check_ewce_genelist_inputs
Is used to check that hits and bg gene
lists passed to EWCE are setup correctly. Checks they are the
appropriate length.
Checks all hits are in bg. Checks the species match and if not
reduces to 1:1 orthologs.
check_ewce_genelist_inputs(
sct_data,
hits,
bg = NULL,
genelistSpecies = NULL,
sctSpecies = NULL,
sctSpecies_origin = sctSpecies,
output_species = "human",
method = "homologene",
geneSizeControl = FALSE,
standardise_sct_data = TRUE,
standardise_hits = FALSE,
min_genes = 4,
verbose = TRUE
)
sct_data |
List generated using generate_celltype_data. |
hits |
List of gene symbols containing the target gene list.
Will automatically be converted to human gene symbols
if |
bg |
List of gene symbols containing the background gene list
(including hit genes). If |
genelistSpecies |
Species that |
sctSpecies |
Species that |
sctSpecies_origin |
Species that the |
output_species |
Species to convert |
method |
R package to use for gene mapping:
|
geneSizeControl |
Whether you want to control for
GC content and transcript length. Recommended if the gene list originates
from genetic studies (Default: FALSE).
If set to |
standardise_sct_data |
Should
|
standardise_hits |
Should
If |
min_genes |
Minimum number of genes in a gene list to test. |
verbose |
Print messages. |
A list containing
hits
: Array of MGI/HGNC gene symbols containing the target
gene list.
bg
: Array of MGI/HGNC gene symbols containing the background
gene list.
ctd <- ewceData::ctd()
example_genelist <- ewceData::example_genelist()
# Called from "bootstrap_enrichment_test()" and "generate_bootstrap_plots()"
checkedLists <- EWCE::check_ewce_genelist_inputs(
sct_data = ctd,
hits = example_genelist,
sctSpecies = "mouse",
genelistSpecies = "human"
)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.