report: report

Description Usage Arguments Examples

View source: R/report.R

Description

generate a report from a Binalysis analysis.

Usage

1
report(analysis, parameters)

Arguments

analysis

object of class Binalysis from which to genrate a report

parameters

object of class ReportParameters

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
## Not run: 
library(metaboWorkflows)
library(magrittr)
data("exampleFIEworkflowResults")

## For just a Binalysis object
analysis <- exampleFIEworkflowResults %>%
 resultsProcessing()
p <- reportParameters('ExampleData','Steve French')
report(analysis,p)

## For Analysis object
analysis <- exampleFIEworkflowResults %>%
 resultsAnalysis()
p <- reportParameters('ExampleData','Steve French')
report(analysis,p) 

## For Assignment object
analysis <- exampleFIEworkflowResults %>%
 resultsAnnotation()
p <- reportParameters('ExampleData','Steve French')
report(analysis,p) 

## For workflow object
p <- reportParameters('ExampleData','Steve French')
report(exampleFIEworkflowResults,p) 


## End(Not run)

jasenfinch/metaboReports documentation built on Dec. 2, 2018, 3:16 p.m.