grunif: grunif

grunifR Documentation

grunif

Description

gMatrix instantiator creates random matrix with uniform distribution

Usage

grunif(gr, full = FALSE, fill = 0, agg.fun = sum, na.rm = TRUE)

Arguments

gr

GRanges around which to build a gMatrix

full

logical flag whether to explicitly "fill" missing entries in provided data.table (default = FALSE)

fill

value with which to fill missing values (default 0)

agg.fun

default function with which to aggregate values, this function should take a vector and na.rm = TRUE and return a scalar

na.rm

default na.rm argument to agg.fun


mskilab/GxG documentation built on April 12, 2025, 5:32 p.m.