Skip to contents

This function returns abundances, ranked by a selected ranking function

Usage

rankedAbundance(
  data,
  method = c("median", "max", "q3", "variance"),
  cutoff = 10,
  verbose = c(TRUE, FALSE)
)

# S4 method for AbundanceData
rankedAbundance(
  data,
  method = c("median", "max", "q3", "variance"),
  cutoff = 10,
  verbose = c(TRUE, FALSE)
)

Arguments

data

AbundanceData object

method

string defining the ranking strategy by which to order the taxa. Accepted values are 'median','max','q3',and 'variance'. Note that taxa that return a value of 0 for a given method will not be included in the results.

cutoff

integer indicating the maximium number of taxa to be kept after ranking.

verbose

boolean indicating if timed logging is desired

Value

ComputeResult object