R/yaConsensus.R

Defines functions yaConsensus

Documented in yaConsensus

yaConsensus <-
function(ddata, runs = 1000, epsilon = .65, is_by_sample = TRUE, 
                        distMethod = "euclidean", hcMethod = "ward.D2", prefix = NULL) {
  
  if(is_by_sample) 
    ans <- consensus.bySample(ddata, runs = runs, epsilon = epsilon, hcMethod = hcMethod, distMethod = distMethod, prefix = prefix) else
      ans <- consensus.byFeature(ddata, runs = runs, epsilon = epsilon, distMethod = distMethod, hcMethod = hcMethod, prefix = prefix) 
    invisible(ans)
}

Try the yaConsensus package in your browser

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

yaConsensus documentation built on April 3, 2025, 10:12 p.m.