gmb.coordinates: Convert genomic coordinates

Description Usage Arguments Details Value See Also Examples

Description

Convert genomic coordinates from (chr, mb) representation to cummulative (gmb) representation.

Usage

1
gmb.coordinates(chr, pos, chrlen = mouse.chrlen)

Arguments

chr

A character vector of chromosomes

pos

A numeric vector of positions (b or Mb)

chrlen

A vector with chromosome lengths (as in org.Mm.egCHRLENGTHS)

Details

A cummulative (gmb) form could be useful for example as x-coordinate of a genomic plot.

Value

A numeric vector with cummulative (gmb) genomic coordinates.

See Also

plot.mediation

Examples

1
gmb <- gmb.coordinates(Tmem68$annotation$chr, Tmem68$annotation$pos)

simecek/intermediate documentation built on May 29, 2019, 10:01 p.m.