grnorm: grnorm

grnormR Documentation

grnorm

Description

gMatrix instantiator creates random matrix with normal distribution

Usage

grnorm(
  gr,
  mean = NULL,
  sd = NULL,
  full = FALSE,
  fill = 0,
  agg.fun = sum,
  na.rm = TRUE
)

Arguments

gr

GRanges around which to build a gMatrix

mean

mean parameter funtion of i and j

sd

scalar sd parameter to rnorm

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.