names-set: 'names<-' sets names in 'MSP'-object

Description Usage Arguments Value Examples

Description

names<- sets names in MSP-object

Usage

1
2
## S4 replacement method for signature 'MSP,character'
names(x) <- value

Arguments

x

object of class MSP, see ?convert2MSP for further information

value

character vector with new names

Value

MSP-object

Examples

1
2
3
4
data("sd02_deconvoluted", package = "MetCirc")
finalMSP <- convert2MSP(sd02_deconvoluted, split = " _ ",
                         splitIndMZ = 2, splitIndRT = NULL)
names(finalMSP) <- rep("Unknown")

PlantDefenseMetabolism/MetabolomicTools documentation built on May 8, 2019, 2:53 p.m.