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


sesameDataCache("HM450") # in case not done yet

data <- sesameDataGet('HM450.76.TCGA.matched')
cf_list = summaryExtractCfList(DML(data$betas, ~type, meta=data$sampleInfo))
cf_list = DMR(data$betas, cf_list$typeTumour)
topSegments(cf_list)

[Package sesame version 1.10.5 Index]