changeAnchorCoord: Change the anchor coordinate

View source: R/methMatrixManipulation.R

changeAnchorCoordR Documentation

Change the anchor coordinate

Description

Change the anchor coordinate

Usage

changeAnchorCoord(mat, anchorCoord = 0)

Arguments

mat

A methylation matrix

anchorCoord

The coordinate which will be set as the 0 position for relative coordinates (default=0)

Value

A methylation matrix in which the column names have been changed to indicate relative position with reference to the anchor coordinate. e.g. a 500bp matrix centered around the TSS can have its column names changed from 0 to 500 range to -250 to 250 range by setting anchorCoord=250.


jsemple19/methMatrix documentation built on Aug. 19, 2022, 3:57 p.m.