getRefData: getRefData

Description Usage Arguments Value

View source: R/createRandomMutations.R

Description

Function to get the reference nucleotides of a mutation.

Usage

1
getRefData(data, sizeSur, lenChrom, refGenomeHg19)

Arguments

data

Table with the chromosome, start information

sizeSur

A number with the amount of nucleotides there has to be around the mutation.

lenChrom

vector with the different size of the chromosomes

refGenomeHg19

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

Value

A string with the surrounding and mutated position reference nucleotides of a mutation. Each part separated with "-"


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