getSiriusTree: getSiriusTree

View source: R/Functions_SIRIUS.R

getSiriusTreeR Documentation

getSiriusTree

Description

get additional SIRIUS results (fragmentation trees) for a spectrum

Usage

getSiriusTree(paths, formula)

Arguments

paths

list generated by getSirius()

formula

molecular formula prediction to get details for

Details

  • annotations the matching file from spectra subfolder as data.frame

  • trees_dot the matching .dot tree file, read in by DiagrammeR::grViz

  • trees_json the matching .json tree file, read in by jsonlite::read_json

Value

Returns a named list with fragmentation tree objects for plotting, see |codeDetails


mjhelf/Mosaic documentation built on April 28, 2022, 11:32 a.m.