Cacoa is the main class, providing the user interface. Most public methods inside belong to one of the two types: estimate*
or plot*
. The plot*
methods don't include long computations, and these functions accepts only plotting parameters. The estimate*
functions are the ones performing all real computations. Results of such computations are stored in the test.results
field if they can be used for plotting right there, or in the cache
if it's going to be used only in other estimate*
functions. Note: it's still to be decided how do we deal with cache invalidation.
Cacoa operates with Conos, Seurat and possibly some other objects, which store experimental data. Such objects (one per Cacoa object) are stored in the data.object
field. Extraction of the information from this object must be done through S3 extract*
wrappers, stored in the "access_wrappers.R" file. It's a good idea to keep extract*
methods as short and fast as possible, but deviations are allowed.
Every estimation*
method of the Cacoa class should be a wrapper around estimation*
function. The function accepts input in the processed format, and the only functionality stored in the class methods must be preparation of data for the estimation.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.