R/setupGADAgeneral.R

setupGADAgeneral <-
  function (log.ratio, genotype = NULL, B.allele.freq = NULL, gen.info = NULL, 
    type = "log.ratio", sort = FALSE) 
{
    ans <- list()
    ans$log.ratio <- log.ratio
    ans$genotype <- genotype
    ans$B.allele.freq <- ans$B.allele.freq
    attr(ans, "type") <- type
    attr(ans, "gen.info") <- gen.info
    class(ans)<- "setupGADA";
ans
}

Try the gada package in your browser

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

gada documentation built on May 2, 2019, 6:10 p.m.