metadatamrbin: A function for interactively editing metadata of mrbin...

View source: R/mrbin.R

metadatamrbinR Documentation

A function for interactively editing metadata of mrbin objects.

Description

This function edits interactively or non-interactively the metadata filed of the provided mrbin object.

Usage

metadatamrbin(mrbinResults, metadata = NULL)

Arguments

mrbinResults

An mrbin object

metadata

An optional list of objects to be changed. If provided, interactive mode is deactivated

Value

An invisible mrbin object

Examples

 mrbinObject<-mrbin(silent=TRUE,
                   parameters=list(verbose=TRUE,dimension="1D",PQNScaling="No",
                   binwidth1D=0.04,signal_to_noise1D=1,PCA="No",binRegion=c(9.5,0.5,10,156),
                   saveFiles="No",referenceScaling="No",noiseRemoval="No",
                   fixNegatives="No",logTrafo="No",noiseThreshold=.05,tryParallel=TRUE,
                   NMRfolders=c(system.file("extdata/2/10/pdata/10",package="mrbin"),
                              system.file("extdata/3/10/pdata/10",package="mrbin"))
                   ))
 mrbinObject<-metadatamrbin(mrbinObject,metadata=list(projectTitle="Test project"))

mrbin documentation built on June 22, 2024, 9:39 a.m.