generate_ploidy_parent: Generat the ploidy given a parent clone

View source: R/simulations.R

generate_ploidy_parentR Documentation

Generat the ploidy given a parent clone

Description

Generat the ploidy given a parent clone

Usage

generate_ploidy_parent(parent_ploidy, spots, random, non_random_spots, changes)

Arguments

spots

integer, how many sites to be changed

random

boolean, should the spots be sampled randomly

non_random_spots

vector of integers,

changes

vector of integers, allowed values for deletion and amplification

paret_ploidy

vector of integers, the ploidy of the parent clone

Value

vector of integers, ploidy profile of the child subclone


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