grpois: grpois

grpoisR Documentation

grpois

Description

gMatrix instantiator creates random matrix with poisson

Usage

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

Arguments

gr

GRanges around which to build a gMatrix or gMatrix from which to draw "lambda" parameter

lambda

scalar lambda parameter of poisson or gMatrix from which to draw lambda parameter)

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.