View source: R/Widget_GetSiriusWidget.R
GetSiriusWidget | R Documentation |
Widget that starts a SIRIUS analysis as specified in reactives(, which will add an entry to the index file in the SIRIUS folder to be observed by the SiriusModule
GetSiriusWidget( input, output, session, reactives = reactive({ list(sirpath = file.path(.MseekOptions$siriusFolder, "sirius"), ms2, parentmz, outfolder = getwd(), ms1 = NULL, ion = "[M+?]+", comments = "", rt = "", charge = 1, fingerid = T, scanindices = "", moreOpts = " ", config = list(IsotopeSettings.filter = TRUE, FormulaSearchDB = c("ALL_BUT_INSILICO", "ALL", "BIO", "METACYC", "CHEBI", "COCONUT", "ECOCYCMINE", "GNPS", "HMDB", "HSDB", "KEGG", "KEGGMINE", "KNAPSACK", "MACONDA", "MESH", "NORMAN", "UNDP", "PLANTCYC", "PUBCHEM", "PUBMED", "YMDB", "YMDBMINE", "ZINCBIO"), Timeout.secondsPerTree = 0, FormulaSettings.enforced = "HCNOP[5]S", Timeout.secondsPerInstance = 0, AdductSettings.detectable = "[[M+K]+,[M+H3N+H]+,[M+Na]+,[M-H4O2+H]+,[M-H2O+H]+,[M+H]+]", UseHeuristic.mzToUseHeuristicOnly = 650, AlgorithmProfile = "orbitrap", IsotopeMs2Settings = "IGNORE", MS2MassDeviation.allowedMassDeviation = "5.0ppm", NumberOfCandidatesPerIon = 1, UseHeuristic.mzToUseHeuristic = 300, FormulaSettings.detectable = ",", NumberOfCandidates = 10, StructureSearchDB = c("ALL_BUT_INSILICO", "ALL", "BIO", "METACYC", "CHEBI", "COCONUT", "ECOCYCMINE", "GNPS", "HMDB", "HSDB", "KEGG", "KEGGMINE", "KNAPSACK", "MACONDA", "MESH", "NORMAN", "UNDP", "PLANTCYC", "PUBCHEM", "PUBMED", "YMDB", "YMDBMINE", "ZINCBIO"), AdductSettings.fallback = "[[M+K]+,[M+Na]+,[M+H]+]", RecomputeResults = TRUE), force = T) }) ) GetSiriusWidgetUI(id)
input |
arguments necessary for use with
|
output |
arguments necessary for use with
|
session |
arguments necessary for use with
|
reactives |
a reactive() returning a list of |
id |
id to be used to define a namespace via |
GetSiriusWidget
: server logic
GetSiriusWidgetUI
: UI elements
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.