Retrieves or defines the sample names.
Usage
has_replicates(x)
get_samples(x)
set_samples(x) <- value
# S4 method for CompositionMatrix
has_replicates(x)
# S4 method for LogRatio
has_replicates(x)
# S4 method for OutlierIndex
has_replicates(x)
# S4 method for CompositionMatrix
get_samples(x)
# S4 method for LogRatio
get_samples(x)
# S4 method for OutlierIndex
get_samples(x)
# S4 method for CompositionMatrix
set_samples(x) <- value
Arguments
- x
An object from which to get or set
samples
.- value
A possible value for the
samples
ofx
.
Value
set_samples()
returns an object of the same sort asx
with the new sample names assigned.get_samples()
returns the sample names ofx
.has_replicates()
returns alogical
scalar.