setExpParam | R Documentation |
Main interface to set the experimental parameters into a RHermesExp object. The user can either provide an ExpParam object (partially or fully customized) or provide a template tag to use a pre-made parameter set.
setExpParam(struct, params = ExpParam(), template = character(0)) ## S4 method for signature 'RHermesExp' setExpParam(struct, params = ExpParam(), template = character(0))
struct |
The RHermesExp object to modify. |
params |
Optional if using template. An ExpParam object detailing a custom set of parameters. |
template |
Ignored if using params. A character describing the ID of the pre-made parameter set to use. Currently you can use: 'orbi-pos', 'orbi-neg', 'qtof-pos' and 'qtof-neg'. The parameters can be found, modified or even expanded in the csv at app/www/InstrumentTemplates.csv |
An RHermesExp object with the desired experimental parameters set.
if(FALSE){ myHermes <- RHermesExp() #Using template myHermes <- setExpParam(myHermes, template = 'orbi-pos') #Custom parameters myHermes <- setExpParam(myHermes, ExpParam(ppm = 10, res = 135000, ion = '-')) }
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.