grToSeg {biscuiteer} | R Documentation |
Output data.frame can be written to a .seg file if supplied with filename input argument
grToSeg(gr, filename = NULL, minAbs = NULL)
gr |
A GRanges or GRangesList to dump to .seg file |
filename |
Where to save the result - unsaved if NULL (DEFAULT: NULL) |
minAbs |
Minimum absolute gain/loss cutoff (DEFAULT: NULL) |
A data.frame with columns: (ID, chrom, loc.start, loc.end, num.mark, seg.mean)
segToGr
clock <- getClock(model="horvathshrunk", genome="hg38") gr <- clock$gr df <- grToSeg(gr = gr)