annoByGene: Annotate the vector integrated site by genes and...

Description Usage Arguments Value

View source: R/annoByGene.R

Description

This function uses Gene and TSS database to search the feature of integrated regions. User can get query sequence inserted in gene and distribution graphes from Gene and TSS coordinations. Plus, user can do random distribution analysis by this function.

Usage

1
annoByGene(hits, randomSet = NULL, mapTool = 'blast', organism = 'hg19', interval = 5000, range = c(-20000, 20000),

Arguments

hits

a GR object. This object made from *makeInputs* function.

randomSet

TRUE or FALSE. For random distribution, function makes random set, if user enter TRUE. If this value is FALSE, random distribution analysis is not executed. Default is TRUE.

mapTool

a character. Function serve two types of file such as outputs from BLAST and BLAT. Default is 'blast'. If you want to use BLAT output, use 'blast'.

organism

a single character. This function serves 3 versions of organisms such as hg19, hg38 (Human) and galGal6 (Chicken). Default is 'hg19'.

interval

an integer vector. This number means interval number for distribution analysis. Default is 5000.

randomSize

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

range

an integer array. It means the range for highlight region of this analysis. Default range is c(-20000, 20000).

outpath

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

outFile

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

dbPath

a string vector. Directory path of database files.

Value

Return a result list is composed by insertion table (Gene), distribution table (Gene/TSS) and GRobject of Gene and TSS data.


bioinfo16/VVIPS documentation built on Nov. 4, 2019, 7:20 a.m.