addFeatures {OmicNavigator}R Documentation

Add feature metadata

Description

Add feature metadata

Usage

addFeatures(study, features, reset = FALSE)

Arguments

study

An OmicNavigator study created with createStudy

features

The metadata variables that describe the features in the study. The input object is a list of data frames (one per model). The first column of each data frame is used as the featureID, so it must contain unique values. To share a data frame across multiple models, use the modelID "default". All columns will be coerced to character strings.

reset

Reset the data prior to adding the new data (default: FALSE). The default is to add to or modify any previously added data (if it exists). Setting reset = TRUE enables you to remove existing data you no longer want to include in the study.

Value

Returns the original onStudy object passed to the argument study, but modified to include the newly added data


[Package OmicNavigator version 1.13.13 Index]