getWeightForCell: The function to estimate the cell type composition signature...

View source: R/CARD.SCMapping.R

getWeightForCellR Documentation

The function to estimate the cell type composition signature for each single cell in the scRNaseq reference data

Description

The function to estimate the cell type composition signature for each single cell in the scRNaseq reference data

Usage

getWeightForCell(sc_eset, ct.varname, ct.select, sample.varname, B)

Arguments

sc_eset

the sc_eset stored in the CARD object

ct.varname

character, the name of the column in metaData that specifies the cell type annotation information, stored in the CARD object

ct.select

vector of cell type names that you are interested in to deconvolute, default as NULL. stored in the CARD object

sample.varname

character,the name of the column in metaData that specifies the sample information. stored in the CARD object

B

reference basis matrix stored in the CARD object.

Value

Returns a matrix of the cell type composition signature for each single cell in the scRNaseq reference


YingMa1993/CARD documentation built on Feb. 14, 2024, 12:24 p.m.