R/coerce-methods.R

setAs("GRanges", "VariantInfo",
      function(from)
      {
          class(from) <- "VariantInfo"
          mcols(from)$MAF <- as.numeric(rep(NA, length.out=length(from)))

          from
      })

Try the podkat package in your browser

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

podkat documentation built on Nov. 8, 2020, 6:55 p.m.