View source: R/standardise_ctd.R
standardise_ctd | R Documentation |
This function will take a CTD,
drop all genes without 1:1 orthologs with the
output_species
("human" by default),
convert the remaining genes to gene symbols,
assign names to each level,
and convert all matrices to sparse matrices and/or DelayedArray
.
standardise_ctd(
ctd,
dataset,
input_species = NULL,
output_species = "human",
sctSpecies_origin = input_species,
non121_strategy = "drop_both_species",
method = "homologene",
force_new_quantiles = TRUE,
force_standardise = FALSE,
remove_unlabeled_clusters = FALSE,
numberOfBins = 40,
keep_annot = TRUE,
keep_plots = TRUE,
as_sparse = TRUE,
as_DelayedArray = FALSE,
rename_columns = TRUE,
make_columns_unique = FALSE,
verbose = TRUE,
...
)
ctd |
Input CellTypeData. |
dataset |
CellTypeData. name. |
input_species |
Which species the gene names in |
output_species |
Which species' genes names to convert |
sctSpecies_origin |
Species that the |
non121_strategy |
How to handle genes that don't have
1:1 mappings between
|
method |
R package to use for gene mapping:
|
force_new_quantiles |
By default, quantile computation is
skipped if they have already been computed.
Set |
force_standardise |
If |
remove_unlabeled_clusters |
Remove any samples that have numeric column names. |
numberOfBins |
Number of non-zero quantile bins. |
keep_annot |
Keep the column annotation data if provided. |
keep_plots |
Keep the dendrograms if provided. |
as_sparse |
Convert to sparse matrix. |
as_DelayedArray |
Convert to |
rename_columns |
Remove |
make_columns_unique |
Rename each columns with the prefix
|
verbose |
Print messages.
Set |
... |
Arguments passed on to
|
Standardised CellTypeDataset.
ctd <- ewceData::ctd()
ctd_std <- EWCE::standardise_ctd(
ctd = ctd,
input_species = "mouse",
dataset = "Zeisel2016"
)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.