Description Usage Arguments Value Note Author(s) References Examples
View source: R/cell.props.target.R
Creates simulated cell proportions with pre-specified parameters for the target cell type. The target cell type with known parameters of the corresponding proportions is then used for further simulations. The target cell type is the first column in the cell proportion matrix. The standard deviation for the target cell type may be specified, as well as the condition number over entire cell proportion matrix.
1 2 | cell.props.target(n.cells = 3, n.samps = 15, target.sd = 0.08,
target.cd = 50000)
|
n.cells |
total number of cell types to simulate. Default - 3. |
n.samps |
sample size for cell proportions matrix to create. Default - 15. |
target.sd |
standard deviation of the proportions of the target cell type. Default - 0.08. |
target.cd |
condition number for the whole cell proportions matrix. Default - 50000 |
cell.props An n.samps by cell types matrix of simulated relative cell proportions.
NOTE: do NOT specify a condition number less than 15. The function will crash.
Edmund R Glass, Edmund.Glass@gmail.com, Mikhail G Dozmorov, Mikhail.Dozmorov@vcuhealth.org
https://github.com/ERGlass/lrcde.dev
1 2 3 4 | ## Not run:
cell.props <- cell.props.target(n.cells = 3, n.samps = 15, target.sd = 0.08, target.cd = 50000)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.