faro: Extract the internal (F)acile(A)nalysis(R)esult (O)bject from...

View source: R/api.R

faroR Documentation

Extract the internal (F)acile(A)nalysis(R)esult (O)bject from a container.

Description

FacileAnalysisResult object can be stored within a ReactiveFacileAnalysis, or a FacileMultiAnalysisResult (which is a collection of FacileAnalysisResults returned from a "multi-analysis" view, like fDgeSeaAnalysis())

Usage

faro(x, ...)

Details

Due to the potential hybrid-nature of analysis workflow, we are not always certain that a FacileAnalysisResult used by a module that did not create it (ie. the dgeres object in the fdgeView() is a ReactiveFacileAnalysisResult, or simply an innert FacileAnalysisResult.

So that we don't have to always check for these things, we call this method so that we get access to the FacileAnalysisResult object itself.

As an aside, I know this is a bit of a cop-out to doing full-blown OO. I feel like if I were to implement each of the specific ⁠*FacileAnalysisResult⁠ methods for its sister ReactiveFacile*AnalysisResult, then this probably wouldn't be necessary ... I think, anyway.

Value

an innert FacileAnalysisResult


facilebio/FacileAnalysis documentation built on March 15, 2024, 7:37 a.m.