View source: R/simulated_data.R
simData | R Documentation |
Simulate data according to the scDist model
simData(nct = 10, J = 50, N1, N2, G = 1000, nn = 100, tau = 0.5)
nct |
The number of cell types. |
J |
The number of cells per cell type. |
N1 |
The number of patients in first condition (reference). |
N2 |
The number of patients in second condition. |
G |
The number of genes. |
nn |
The number of non-null genes between the conditions. |
tau |
The standard deviation of the patient-specific effect. |
A list with components
Y
- A matrix containing normalized counts (genes x cells).
meta.data
- Metadata that can be used as input to 'scDist'.
D.true
- The true distance
Phillip B. Nicol <philnicol740@gmail.com>
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.