View source: R/estDropoutNum.R
estDropoutNum | R Documentation |
This function is used to estimate dropout gene number in a cell for single-cell RNA-seq (scRNA-seq) data. It takes a non-negative vector of scRNA-seq raw read counts of a cell as input.
estDropoutNum(sample = NULL, depth = 20, histCounts = NULL, return = "dropoutNum")
sample |
A cell's raw read counts for each gene, could be a vector or a SingleCellExperiment object. |
depth |
Relative sequencing depth to be predicted compared with initial sample depth, should between 0-100, default is 20. |
histCounts |
Optional. Only needed when |
return |
A character for choosing the return value type of the function. "dropoutNum" (default) for dropout gene number, "geneNumPredict" for all expressed gene number predicted, "transcriptNum" for all transcript number predicted. |
The dropout gene number (or all expressed gene number) predicted in a cell.
Zhun Miao.
scRecover
, for imputation of single-cell RNA-seq data.
countsSampling
, for downsampling the read counts in a cell.
normalization
, for normalization of single-cell RNA-seq data.
scRecoverTest
, a test dataset for scRecover.
# Load test data data(scRecoverTest) # Estimate dropout gene number in a cell estDropoutNum(sample = counts[,1], return = "dropoutNum") # Estimate all expressed gene number in a cell estDropoutNum(sample = counts[,1], return = "geneNumPredict")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.