Description Usage Arguments Details Value
View source: R/Single_Cell_Simu.R
Calculate empirical means and variances of selected genes in a given dataset.
1 2 |
a |
Numeric vector of values to calculate empirical mean and variance. |
FC |
Fold change for the mean and standard deviation. Default value is 1. |
FC.thresh |
Alternate fold change for the mean and standard deviation
when the (log nonzero) mean is above the value of |
threshold |
Mean threshold value which dictates which fold change value
to use for multiplying mean and standard deviation.
Default value is Inf (so |
include.zeroes |
Logical value indicating whether the zero values should be included in the calculations of the empirical means and variances. |
Calculate empirical means and variances of selected genes in a
given dataset. Optionally, multiply
the means and standard deviations by a fold change value, which can also
vary by mean value. If the mean is
below some specified threshold threshold
, use one fold change value
FC
. If above the threshold, use the alternate
fold change value FC.thresh
. Estimates of mean and variance are
robust to outliers.
MV Vector of two elements, first contains the empirical mean estimate, second contains the empirical variance estimate (optionally multiplied by a fold change).
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.