createscRef | R Documentation |
Construct the mean gene expression basis matrix (B), this is the faster version
createscRef(x, ct.select = NULL, ct.varname, sample.varname = NULL)
x |
S4 class for storing data from single-cell experiments. This format is usually created by the package SingleCellExperiment with stored counts, along with the usual metadata for genes and cells. |
ct.select |
vector of cell type names that you are interested in to deconvolute, default as NULL. If NULL, then use all cell types provided by single cell dataset; |
ct.varname |
character, the name of the column in metaData that specifies the cell type annotation information |
sample.varname |
character,the name of the column in metaData that specifies the sample information. If NULL, we just use the whole as one sample. |
Return a list of basis (B) matrix
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.