Learn R Programming

superFreq (version 1.2.3)

xToPos: Extract position of genomic coordinate

Description

Extract position of genomic coordinate

Usage

xToPos(x, genome = "hg19")

Arguments

x

integer: The genomic coordinate.

genome

character: the genome. default "hg19"

Details

Extracts the position on the chromsome a genomic coordinate is on.

Examples

Run this code
# NOT RUN {
xToPos(1e9)
xToPos(1e9, genome='mm10')
# }

Run the code above in your browser using DataLab