names<- {MetCirc} | R Documentation

## `names<-` sets names in `MSP`-object

### Description

`names<-` sets names in `MSP`-object

### Usage

    ## 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

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

[Package MetCirc version 1.14.0 Index]