getRegionsOI: Filter Annotation File

Description Usage Arguments Details Value Author(s)

Description

Filter out unimportant regions of an annotation file in bed format.

Usage

1
   getRegionsOI(annot,regOI)

Arguments

annot

An annotation file in bed format.

regOI

A dataframe specifying the interesting location.

Details

When considering trans-eQTLs all combinations between gene annotations and genotype data are tested. This often forces the user to filter the annotations to a certain region. Having an annotation file in bed format with the columns Name,Chr, Start and Stop and a data frame specifying the different locations that should remain, this function removes all annotations outside these given areas. THe column names of the data frame given to regOI are Chr, Start and End.

Value

A subset of annot.

Author(s)

Daniel Fischer


GeneticTools documentation built on Jan. 15, 2017, 11:21 a.m.