Learn R Programming

zonator (version 0.6.0)

featurenames: Feature names of Zonation variant.

Description

Get and set names for analysis features used a given Zonation variant.

Usage

featurenames(x)

featurenames(x) <- value

# S4 method for ZCurvesDataFrame featurenames(x)

# S4 method for ZCurvesDataFrame,character featurenames(x) <- value

# S4 method for Zresults featurenames(x)

# S4 method for Zvariant featurenames(x)

# S4 method for Zvariant,character featurenames(x) <- value

Arguments

x

Z* object.

value

character vector of feature names to be assigned. Can be named or not.

Value

Character vector of spp feature names.

Details

Argument x can be an instance of one the following Z* classes:

  • Zvariant

  • Zresults

See Also

Zvariant-class Zresults-class groupnames groups

Examples

Run this code
# NOT RUN {
 setup.dir <- system.file("extdata/tutorial/basic", package="zonator")
 tutorial.project <- create_zproject(setup.dir)
 variant.caz <- get_variant(tutorial.project, "01")

 # Feature names for a Zvariant object
 featurenames(variant.caz)

 # Feature names for a Zresults object
 results.caz <- results(variant.caz)
 featurenames(results.caz)
# }
# NOT RUN {
# }

Run the code above in your browser using DataLab