Simulate data for decomposition illustration
Simulates bulk and single-cell expression, as well as marker genes and true proportions that can be used as an example of decomposition
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'.
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))
Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.