generate_ploidy_parent_fine: Generate the ploidy given a parent clone (with a finer...

View source: R/simulations.R

generate_ploidy_parent_fineR Documentation

Generate the ploidy given a parent clone (with a finer control)

Description

It is basically equal to generate_ploidy_parent but provides the direct controll of the segments in which we want to place the mutation

Usage

generate_ploidy_parent_fine(
  parent_ploidy,
  spots_deletion,
  spots_insertions,
  spots_O
)

Arguments

spots_deletion

segments where we want to insert a single chromosome deletion

spots_O

segments where we wanto to insert a double chromosome deletion

spots_insertion

segments where we want to insert a single or double (randomly sampled) chromose amplification

Value

vector of integers, ploidy profile of the child subclone


Militeee/rcongas documentation built on Nov. 1, 2024, 2:38 a.m.