R/rawToRel.R

Defines functions .rawToRel

.rawToRel <- function(object){
  object.rel <- BSrel(colData = colData(object),
                      rowRanges = rowRanges(object),
                      methLevel = methReads(object) / totalReads(object)
                      )
  return(object.rel)
}

setMethod("rawToRel",
          signature=c(object = "BSraw"),
          .rawToRel)

Try the BiSeq package in your browser

Any scripts or data that you put into this service are public.

BiSeq documentation built on Nov. 8, 2020, 8:05 p.m.