quickclust: Quick RAMClustR application

Description Usage Arguments Value

View source: R/ramclustRdf.R

Description

Applies RAMClustR to a small subset of all profiles that are in the retention time window around a specific profile of interest.

Usage

1
2
quickclust(profileID, profiles, rttol = 60, raw = FALSE,
  profileMatrix = NULL, sr = 0.5, st = 25)

Arguments

profileID

The profile you want to look up (integer)

profiles

A profile list produced by nontarget

rttol

Retention time window to extract from the profile matrix to cluster on. A value of 60 means +- 30 (in unit of your retention time, i.e. if you have seconds use seconds)

raw

if TRUE, return the RAMClustR result instead. Useful for development purposes.

profileMatrix

A sample x feature matrix as returned by makeProfileMatrix

Value

a data.frame (profileID, mz, RT, int) with the "pseudospectrum" at that RT (using the pseudo-sum-intensity from RAMClustR)


meowcat/RMassScreening documentation built on Jan. 9, 2020, 10:49 p.m.