methSeg2bed | R Documentation |
The segments are color coded based on their score (methylation or differential methylation value). They are named by segment group (components in mixture modeling) and the score in the BED file is obtained from 'seg.mean' column of segments object.
methSeg2bed(
segments,
filename,
trackLine = "track name='meth segments' description='meth segments' itemRgb=On",
colramp = colorRamp(c("gray", "green", "darkgreen"))
)
segments |
|
filename |
name of the output data |
trackLine |
UCSC browser trackline |
colramp |
color scale to be used in the BED display defaults to gray,green, darkgreen scale. |
A BED files with the segmented data which can be visualized in the UCSC browser
methSeg
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.