View source: R/LineageBarcode_sim.R
generate_mutation | R Documentation |
Generate CRISPR induced mutations
generate_mutation( barcode, mu = 0.1, N_ms = 100, mutation_dist = NULL, p_d = 0, unif_on = FALSE )
barcode |
input barcode (from the parent cell) |
mu |
mutation rate per target, default is 1 |
N_ms |
the number of mutated states required |
mutation_dist |
input distribution for the mutated states |
p_d |
whether or not to simulate dropout effects, 0 or 1 |
unif_on |
distribution mode of mutated states. TRUE: uniform distribution; FALSE: real fitted distribution |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.