Massvector-class {msbase} | R Documentation

## Class "Massvector"

### Description

A concise (1-5 lines) description of what the class is.

### Objects from the Class

Objects can be created by calls of the form `new("Massvector", data, info, tcoor, gelcoor, access, pionm)`.

### Slots

`.Data`:
  Object of class `"matrix"`. First column contains masses. Second can contain intesnities.
`info`:
  Object of class `"character"`, information field
`tcoor`:
  Object of class `"numeric"`, target coordinates
`gelcoor`:
  Object of class `"numeric"`, gel coordinates
`access`:
  Object of class `"character"`, accession string
`pionm`:
  Object of class `"numeric"`, parent ion mass
`zvalue`:
  Object of class `"numeric"`, Charge of the parent ion

### Extends

Class `"matrix"`, directly.

### Methods

[
  `signature(x = "Massvector")`: ...
coerce
  `signature(from = "Massvector", to = "array")`: ...
coerce
  `signature(from = "Massvector", to = "list")`: ...
coerce
  `signature(from = "Massvector", to = "data.frame")`: ...
image
  `signature(x = "Massvector")`: ...
initialize
  `signature(.Object = "Massvector")`: ...
length
  `signature(x = "Massvector")`: ...
mvmeannorm
  `signature(object = "Massvector")`: ...
mvscale
  `signature(object = "Massvector")`: see `scale`
plot
  `signature(x = "Massvector", y = "Massvector")`: ...
pairplot
  `signature(x = "Massvector", y ="Massvector")`: Head-To-Tail Plot
plot
  `signature(x = "Massvector", y = "missing")`: ...
points
  `signature(x = "Massvector")`: add stick spectrum to plot
readBruker
  `signature(object = "Massvector")`: reads Bruker XML file
readMV
  `signature(object = "Massvector", src = "character")`: reads Massvector from file
show
  `signature(object = "Massvector")`:
summary
  `signature(object = "Massvector")`:
writeMV
  `signature(object = "Massvector", path = "character")`: writes Massvector to file
pep.plot
  `signature(x = "Massvector", y = "missing")`: `pep.plot`

### Note

### Author(s)

Witold E. Wolski witek96@users.sourceforge.net

### See Also

`fdist-methods,fbinary-methods,fcor-methods`, ,`Massvectorlist-class`,`fintersect-methods`,`gamasses-methods` ,`finterS-methods`,`funion-methods`,`nrmatch-methods`

### Examples

    data(pldata)
    new("Massvector")
    new("Massvector",matrix(1:20,ncol=2),info="dummy",tcoor=c(0,0),gelcoor=c(0,0))
    pl1<-pldata[[1]]
    pl2<-pldata[[2]]
    pl1
    plot(pl1)
    image(pl1)
    length(pl1)

[Package msbase version 1.5.0 Index]