gene2roi: gene name/s to region of interest

Description Usage Arguments Details Value Examples

View source: R/SCANVISvisual.R View source: R/SCANVISmerge.R

Description

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

Usage

1
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

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

SCANVIS documentation built on Nov. 8, 2020, 5:14 p.m.