View source: R/prepare_quantile_groups.r
prepare_quantile_groups | R Documentation |
Quantile groups are stored in an extra matrix ('quantiles') in the returned CTD. This function also removes any genes from the CTD data which are not 1:1 orthologs with the GWAS species.
prepare_quantile_groups(
ctd,
standardise = TRUE,
non121_strategy = "drop_both_species",
input_species = "mouse",
output_species = "human",
numberOfBins = 40,
verbose = TRUE,
...
)
ctd |
Input CellTypeData. |
standardise |
Whether to run standardise_ctd first. Provides gene ortholog conversion. |
non121_strategy |
How to handle genes that don't have
1:1 mappings between
|
input_species |
Which species the gene names in |
output_species |
Which species' genes names to convert |
numberOfBins |
Number of non-zero quantile bins. |
verbose |
Print messages.
Set |
... |
Additional arguments passed to standardise_ctd. |
The ctd converted to output_species
gene symbols
with additional quantiles matrix.
ctd_orig <- ewceData::ctd()
ctd <- MAGMA.Celltyping::prepare_quantile_groups(ctd = ctd_orig)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.