Description Usage Arguments Value See Also Examples
View source: R/esco-estimate.R
Estimate simulation parameters for the esco simulation from a real dataset. See the individual estimation functions for more details on how this is done.
1 2 3 4 5 6 7 8 9 10 | escoEstimate(counts, dirname, group = FALSE, cellinfo = NULL,
params = newescoParams())
## S3 method for class 'SingleCellExperiment'
escoEstimate(counts, dirname,
group = FALSE, cellinfo = NULL, params = newescoParams())
## S3 method for class 'matrix'
escoEstimate(counts, dirname, group = FALSE,
cellinfo = NULL, params = newescoParams())
|
counts |
either a counts matrix or a SingleCellExperiment object containing count data to estimate parameters from. |
dirname |
a tring of directory name to indicate where to save the results |
group |
whether the data is believed to be of discrete cell groups or not, if yes, the corresponding cellinfo indicating the cell group labels need to be input as well |
cellinfo |
a vector of length n, where n is the number of cells. Each entries is the group identity of a cell. |
params |
|
escoParams
object containing the estimated parameters.
escoEstMean
, escoEstLib
,
escoEstOutlier
, escoEstBCV
,
escoEstDropout
, escoEstDE
,
escoEstGroupMean
, escoEstGroupLib
,
escoEstGroupOutlier
1 2 3 4 | # Load example data
data = matrix(rpois(2000*40,2),2000,40)
params <- escoEstimate(data)
params
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.