Add outliers to the observed counts
Usage
add_outliers(
res,
prob = 0.01,
factor = 2,
sd = 0.5,
cell.num = 1,
max.var = Inf
)
Arguments
- res
The scMultisim result object
- prob
The probability of adding outliers for each gene
- factor
The factor of the outliers
- sd
The standard deviation of the outliers
- cell.num
For a gene, the number of cells chosen to add outliers
- max.var
The maximum variance allowed