grl.eval: Evaluate and aggregate expression on GRanges column in...

grl.evalR Documentation

Evaluate and aggregate expression on GRanges column in GRangesList

Description

Evaluate expression 'expr' on indivdual GRanges inside GRangesList. Expression should result in a single i.e. scalar value per GRangesList item.

Usage

grl.eval(grl, expr, condition = NULL)

Arguments

grl

GRangesList to evaluate over

expr

Any syntactically valid R expression, on columns of GRanges or GRangesList

condition

Optional: any syntactically valid R expression, on columns of GRanges or GRangesList, on which to subset before evaluating main 'expr' (default = NULL)

Value

GRangesList evaluated by R expressions


mskilab/gUtils documentation built on June 6, 2023, 12:08 a.m.