getNegativeBinomialDispersion: Get NB dispersion

View source: R/generateSyntheticData.R

getNegativeBinomialDispersionR Documentation

Get NB dispersion

Description

Get the NB dispersion for one gene in one sample

Usage

getNegativeBinomialDispersion(
  i,
  j,
  S1,
  truedispersions.S1,
  S2,
  truedispersions.S2
)

Arguments

i

gene index.

j

sample index.

S1

Indices in condition 1.

truedispersions.S1

Vector of dispersions for condition 1.

S2

Indices in condition 2.

truedispersions.S2

Vector of dispersions for condition 2.

Value

The dispersion for gene i in sample j.


csoneson/compcodeR documentation built on Nov. 3, 2024, 6:05 a.m.