Import single-sample methylation calls into a
GRanges object.
Value
A GRanges object with one range per CpG and the metadata
columns score (methylation fraction between 0 and 1) and
coverage (read count). This is the msites input of
computeDeviation, addGCBinToMethylome and
the footprint plots.
See also
runMethylTFR, which calls this function for every
sample.
Examples
# Read bissnp file
bissnp_path <- system.file(
"extdata",
"bissnp.tsv.gz",
package = "methylTFR"
)
bissnp <- readMethylome(bissnp_path, "bissnp")
