tune: Change the shape of the input object

View source: R/tune.R

tuneR Documentation

Change the shape of the input object

Description

Change the shape of the input object

Usage

tune(data, shape = NULL)

Arguments

data

An R object.

shape

Usually NULL or a string, specifying the new shape for the object. Refer to the detailed method for allowed values.

Details

In most cases, fortify_matrix() or fortify_data_frame() provide full support for transforming objects. However, some objects may require two completely different approaches to be fortified. The tune function acts as a helper to create a new class tailored for these objects.

tune method collections

  • tune.list()

  • tune.MAF()

  • tune.matrix()


ggalign documentation built on June 8, 2025, 11:25 a.m.