Description Usage Arguments Value
Scoring single cells using reference data set
1 2 | SingleR.ScoreData(sc_data, ref_data, genes, types, quantile.use,
numCores = 1, step = 10000)
|
sc_data |
the single-cell RNA-seq data set as a matrix with genes as rownames. If the data if from a full-length platform, counts must be normalized to gene length (TPM, RPKM, FPKM, etc.). |
ref_data |
the reference dataset with genes as rownames. Gene names must be in the same format as the single cell data (if sc_data uses genes symbols, ref_data must have the same) |
genes |
the list of genes to use. |
types |
a list of cell type names corresponding to ref_data. Number of elements in types must be equal to number of columns in ref_data |
quantile.use |
correlation coefficients are aggregated for multiple cell types in the reference data set. This parameter allows to choose how to sort the cell types scores, by median (0.5) or any other number between 0 and 1. The default is 0.9. |
numCores |
Number of cores to use. |
step |
number of cells in each correlation analysis. The correlation analysis memory requirements may be too high, thus it can be split to smaller sets. |
a list with the scores, the raw correlation coefficients and the top labels
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.