Description Usage Arguments Value Examples
Simulates bulk and single-cell expression, as well as marker genes and true proportions that can be used as an example of decomposition
1 | SimulateData(n.ind, n.genes, n.cells, cell.types, avg.props)
|
n.ind |
Integer. Number of individuals to simulate |
n.genes |
Integer. Number of genes to simulate |
n.cells |
Integer. Number of cells per individual for single-cell data |
cell.types |
Character vector. List of cell types to simulate |
avg.props |
Numeric vector. List of average proportions for given cell types. Should be same length as cell.types and sum to 1 |
A list with simulated single-cell in slot 'sc.eset' and bulk in 'bulk.eset', as well as true proportions in 'props' and marker genes in 'markers'.
1 2 3 4 | library(Biobase)
sim.data <- SimulateData(n.ind=10, n.genes=100, n.cells=100,
cell.types=c("Neurons", "Astrocytes", "Microglia"),
avg.props=c(.5, .3, .2))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.