Learn R Programming

humarray (version 1.0.0)

convTo37: Convert ChipInfo between build 36/37/38 coordinates

Description

Returns the a ChipInfo object with positions updated to build 36/37/38 coordinates, assuming that the build() slot was entered correctly. Ensure that the value of ucsc(x) is correct before running this function for conversion; for instance, if the coordinates are already build 37/hg19, but ucsc(x)!="hg19" (incorrect value), then these coordinates will be transformed in a relative manner rendering the result meaningless.

Usage

convTo37(x)
"convTo37"(x)
convTo36(x)
"convTo36"(x)
convTo38(x)
"convTo38"(x)

Arguments

x
a ChipInfo object

Value

convTo37: Returns a ChipInfo object with the build updated to hg19 coordinatesconvTo36: Returns a ChipInfo object with the build updated to hg18 coordinatesconvTo38: Returns a ChipInfo object with the build updated to hg38 coordinates