makeRanSet: Random data of viral vector integration site

Description Usage Arguments Value Examples

View source: R/makeRanSet.R

Description

Generate viral vector integration site random data

Usage

1
2
3
4
makeRanSet(organism = 'GRCh37',
           randomSize = if(doRandom){10000}else{NULL},
           outPath = getwd(),
           outFileName = paste0('RIPAT', round(unclass(Sys.time()))))

Arguments

organism

a single character. This function can run by two versions of organisms
such as GRCh37, GRCh38 (Human). Default is 'GRCh37'.

randomSize

an integer vector. A random set size. Default is 10000.

outPath

an string vector. Output file is saved in this path.
Default value is R home directory.

outFileName

a character vector. Attached ID to the result file name.

Value

Return a list of integration site positions on chromosome as an R object and text file.

Examples

1
makeRanSet(organism = 'GRCh37')

bioinfo16/RIPAT documentation built on Oct. 16, 2020, 1:39 p.m.