getSegment {sesame} | R Documentation

## Select segment from coefficient table

### Description

This function takes a coefficient table and returns a subset of the table targeting only the specified segment using segment ID.

### Usage

    getSegment(cf1, seg.id)

### Arguments

`cf1` | coefficient table of one factor from DMR
`seg.id` | segment ID

### Value

coefficient table from given segment

### Examples

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

[Package sesame version 1.5.3 Index]