createRandomTable: createRandomTable

Description Usage Arguments Value

View source: R/createRandomMutations.R

Description

Function to build the random mutation table and call supporting functions.

Usage

1
2
createRandomTable(nMut, sampleName, sizeSur, refGenomeHg19, useChrom,
  lenChrom)

Arguments

nMut

The number of mutations that needed to be generated.

sampleName

A name for the test sample.

sizeSur

A number with the amount of nucleotides left and right of the mutation. (e.g. sizeSur = 2 –> "CC.GT")

refGenomeHg19

A Boolean to tell if the preferred reference genome has to be Hg19. Hg38 will be used when refGenome = FALSE.

useChrom

A vector with the chromosomes that are used. Make sure that the names are notated as e.g. "chr1".

lenChrom

vector with the length of the chromosomes

Value

A table with random mutations


AlexJanse/cMut documentation built on May 25, 2019, 4 a.m.