getSegment {sesame} | R Documentation |
This function takes a coefficient table and returns a subset of the table targeting only the specified segment using segment ID.
getSegment(cf1, seg.id)
cf1 |
coefficient table of one factor from DMR |
seg.id |
segment ID |
coefficient table from given segment
data <- sesameDataGet('HM450.76.TCGA.matched') cf <- DMR(data$betas, data$sampleInfo, ~type) getSegment(cf[[1]], cf[[1]][['Seg.ID']][1])