makeDocument: Make the result object and document.

Description Usage Arguments Value Examples

View source: R/makeDocument.R

Description

Rearrange the result from annotation functions.

Usage

1
2
3
4
makeDocument(res, dataType,
             excelOut = TRUE, 
             outPath = getwd(),
             outFileName = paste0('RIPAT', round(unclass(Sys.time()))))

Arguments

res

a GR object. This object is output of annoByGene, annoByCpG, annoByRepeat, annoByVar function.

dataType

a character vector. User enter the annotation type of input
such as gene, cpg, repeat and variant.

excelOut

TRUE or FALSE. If user want to make excel file, enter TRUE.
Default is TRUE.

outPath

an string vector. Plots are saved in this path.
Default value is R home directory.

outFileName

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

Value

Make output table and excel files about vector integration sites
and proportion test result.

Examples

1
2
3
4
data(blast_gene)

makeDocument(res = blast_gene, dataType = 'gene',
             outFileName = 'blast_gene_res')

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