dot-calculateResult: Calculate/load result and save if necessary

.calculateResultR Documentation

Calculate/load result and save if necessary

Description

This is where the actual work is done

Usage

.calculateResult(path, compression, forceRecalc, showMessage, fun, ...)

Arguments

path

path to save cache

compression

compression used in save

forceRecalc

force to recalculate cache

showMessage

boolean to show messages

fun

function to be called

...

arguments to said function ,

Value

result of fun(...)

Examples

glmSparseNet:::.calculateResult(
    file.path(tempdir(), "calculate_result.Rdata"),
    "gzip",
    FALSE,
    TRUE,
    sum,
    1, 2, 3
)

sysbiomed/glmSparseNet documentation built on Feb. 17, 2024, 1:38 p.m.