ppc.subset.and.reshape.peakdata {ppc}R Documentation

Function to subset and reshape mass spec peak data

Description

This function subsets mass spec peak data, using the m/z limits mz.min and mz.max in user.parms. If there are batches, it also reshapes the data, concatenating the spectra in different batches for a given patient. Thus for each patient it produces one long vector of values. The m/z values are strung out as well. Using this trick we can essentially ignore the presence of batches for the rest of the analysis,

Usage

ppc.subset.and.reshape.peakdata(data, user.parms)

Arguments

data List containing the mass spec data
user.parms List of user parameters

Value

List containing the subset and reshaped mass spec data

Author(s)

Balasubramanian Narasimhan and Rob Tibshirani

Examples

## for a complete worked example of this function in a PPC analysis  see
##  http://www-stat.stanford.edu/~tibs/PPC/Rdist/Rscript.peakdata

[Package ppc version 1.01 Index]