dlfc {lfc}R Documentation

The log2 fold change distribution

Description

Density, distribution function, quantile function and random generation for the log2 fold change distribution with parameters ‘a’ and ‘b’ (corresponding to (pseudo-)counts incremented by 1).

Usage

dlfc(x, a, b, log = FALSE)

plfc(q, a, b, lower.tail = TRUE, log.p = FALSE)

qlfc(p, a, b, lower.tail = TRUE, log.p = FALSE)

rlfc(n, a, b)

Arguments

x, q

vector of quantiles

a

non-negative parameter

b

non-negative parameter

log, log.p

if TRUE, probabilities p are given as log(p)

lower.tail

if TRUE (default), probabilities are P[X <= x], otherwise, P[X > x].

p

vector of probabilities

n

number of observations

Value

The density

Functions

Examples

x <- seq (-5,5,by=0.01)
plot(x,dlfc(x,1,1))

[Package lfc version 0.2.3 Index]