topLoci: Top loci in differential methylation

Description Usage Arguments Value Examples

View source: R/differential_methylation.R

Description

This is a convenience 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 locus.

Usage

1
topLoci(cf1)

Arguments

cf1

coefficient table of one factor from diffMeth

Value

coefficient table ordered by p-value of each locus

Examples

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

sesame documentation built on Nov. 15, 2020, 2:08 a.m.