topLoci {sesame} | R Documentation |
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.
topLoci(cf1)
cf1 |
coefficient table of one factor from diffMeth |
coefficient table ordered by p-value of each locus
data <- sesameDataGet('HM450.76.TCGA.matched') cf <- DMR(data$betas, data$sampleInfo, ~type) topLoci(cf[[1]])