generate.genotypes: Generate genotypes

View source: R/sample_genotypes.R

generate.genotypesR Documentation

Generate genotypes

Description

Generate observations from mutations times

Usage

generate.genotypes(
  mutation.times,
  poset,
  sampling.time = NULL,
  lambda.s = 1,
  seed = NULL
)

Arguments

mutation.times

a matrix of dimension (n x p), where n is the number of genotypes to be generated and p is the number of events (or mutations)

poset

a matrix containing the cover relations

sampling.time

an optional argument specifying the sampling time

lambda.s

rate of the sampling process. Defaults to 1.0

seed

seed for reproducibility


cbg-ethz/MC-CBN documentation built on Dec. 15, 2022, 5:42 p.m.