as_report_section-struct_class-list-method: Creating Report sections from an object

Description Usage Arguments Value

Description

This method converts the input struct object into a report section for use with other reporting objects such as struct_report and methods like build_report.

Usage

1
2
## S4 method for signature 'struct_class,list'
as_report_section(obj, subsection)

Arguments

obj

A struct_class object

subsection

A list of report sections to include as a subsection for this object.

Value

A report_section object with pre-populated slots based on the input object.


computational-metabolomics/structReport documentation built on Nov. 12, 2020, 2:33 a.m.