cash-.TmCalculator: Lazy '$df' accessor for 'TmCalculator' objects

$.TmCalculatorR Documentation

Lazy $df accessor for TmCalculator objects

Description

result$df is computed on demand from result$gr instead of being stored eagerly, so genome-scale results are not converted to a data.frame unless actually requested. All other elements behave as plain list access.

Usage

## S3 method for class 'TmCalculator'
x$name

Arguments

x

A TmCalculator object.

name

Element name.

Value

The element, or a data.frame built from x$gr when name == "df" and no stored df exists.


TmCalculator documentation built on Oct. 5, 2026, 5:08 p.m.