gene2roi {SCANVIS}R Documentation

gene name/s to region of interest

Description

Converts gene name/s to genomic coordinates using gene annotation file from SCANVISannotation

Usage

gene2roi(g,gen)

Arguments

g

vector of one or more gene names or gene ids in the same chromosome

gen

gene annotation object as output by SCANIVS.annotation

Details

This function is called upon by SCANVISlinkvar and SCANVISvisual

Value

chr, start and end of the union of genomic intervals that overlap the genes in g

Examples

data(SCANVISexamples)
g=c('TDRD6','PLA2G7')
roi=gene2roi(g,gen19)

[Package SCANVIS version 1.8.0 Index]