generate_mutation: Generate CRISPR induced mutations

View source: R/LineageBarcode_sim.R

generate_mutationR Documentation

Generate CRISPR induced mutations

Description

Generate CRISPR induced mutations

Usage

generate_mutation(
  barcode,
  mu = 0.1,
  N_ms = 100,
  mutation_dist = NULL,
  p_d = 0,
  unif_on = FALSE
)

Arguments

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


Galaxeee/TedSim documentation built on Oct. 2, 2022, 1:25 a.m.