View source: R/extract_matrix.R
extract_matrix | R Documentation |
Extracts a particular matrix (e.g., mean_exp, specificity) from a CellTypeDataset object.
extract_matrix(
ctd,
dataset,
level = 1,
input_species = NULL,
output_species = "human",
metric = "specificity",
non121_strategy = "drop_both_species",
method = "homologene",
numberOfBins = 40,
remove_unlabeled_clusters = FALSE,
force_new_quantiles = FALSE,
as_sparse = TRUE,
as_DelayedArray = FALSE,
rename_columns = TRUE,
make_columns_unique = FALSE,
verbose = TRUE,
...
)
ctd |
Input CellTypeData. |
dataset |
CellTypeData. name. |
level |
CTD level to extract from. |
input_species |
Which species the gene names in |
output_species |
Which species' genes names to convert |
metric |
Name of the matrix to extract. |
non121_strategy |
How to handle genes that don't have
1:1 mappings between
|
method |
R package to use for gene mapping:
|
numberOfBins |
Number of non-zero quantile bins. |
remove_unlabeled_clusters |
Remove any samples that have numeric column names. |
force_new_quantiles |
By default, quantile computation is
skipped if they have already been computed.
Set |
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
|
(specificity) matrix.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.