Learn R Programming

hahmmr (version 1.0.0)

l_lnpois: calculate joint likelihood of a PLN model

Description

calculate joint likelihood of a PLN model

Usage

l_lnpois(Y_obs, lambda_ref, d, mu, sig, phi = 1)

Value

numeric Joint log likelihood

Arguments

Y_obs

numeric vector Gene expression counts

lambda_ref

numeric vector Reference expression levels

d

numeric Total library size

mu

numeric Global mean expression

sig

numeric Global standard deviation of expression

phi

numeric Fold change of expression

Examples

Run this code
l_lnpois(c(1, 2), c(1, 2), 1, 1, 1)

Run the code above in your browser using DataLab