Description Usage Arguments Details Value Author(s) Examples
Simulate single cell sequencing data by random selecting cells from the tumor.
1 | randomSingleCells(tumor, ncells, fpr = 0, fnr = 0)
|
tumor |
A list which is the output of |
ncells |
The number of cells to sample. |
fpr |
The false positive rate |
fnr |
The false negative rate |
The procedure is exactly the same as singleCell()
except that it allows multiple cells
to be sequenced at once (chosen randomly throughout the entire tumor).
A data frame with sample names on the row and mutation ID on the column. A 1 indicates that the mutation is present in the cell and a 0 indicates the mutation is not present.
Phillip B. Nicol <philnicol740@gmail.com>
1 2 | out <- simulateTumor(max_pop = 1000)
df <- randomSingleCells(tumor = out, ncells = 5, fnr = 0.1)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.