topSegments {sesame} | R Documentation

## Top segments in differential methylation

### Description

This is a utility function to show top differential methylated segments. The function takes a coefficient table as input and output the same table ordered by the sigificance of the segments.

### Usage

    topSegments(cf1)

### Arguments

`cf1` | coefficient table of one factor from DMR

### Value

coefficient table ordered by adjusted p-value of segments

### Examples

    data <- sesameDataGet('HM450.76.TCGA.matched')
    cf <- DMR(data$betas, data$sampleInfo, ~type)
    topSegments(cf[[1]])

[Package sesame version 1.5.3 Index]