[.massvector {mscalib}R Documentation

Extract Parts of an Massvector

Description

The massvector extends matrix. The masses and intensities can be accessed like in case of a matrix. Do not use mv[1:10] (not handled properly)

Usage




Arguments

i row access
j column access
peak object from which to extract elements.

Value

xxx If rows are selected then a massvector is returned. If columns are accessed than arrays are returned.

Author(s)

Witold Wolski wolski@molgen.mpg.de

See Also

peaks.massvector, mass.massvector, mget.massvector,

Examples

 data(mv1)
 ls()
 mv1[1:10,] # returns a massvector of length 10
 mv1[1:10,1] # the first ten masses are returned.
 mv1[,1] # the masses are returned.
 mv1[,2] # the peak area are returned.

[Package Contents]