calc_likelihood_score: Calculate Gaussian Likelihood score.

View source: R/build_module.R

calc_likelihood_scoreR Documentation

Calculate Gaussian Likelihood score.

Description

Calculate Gaussian Likelihood score.

Usage

calc_likelihood_score(x, group_labels)

Arguments

x

A n by p matrix.

group_labels

A vector of length n, indicating the group of rows.

Value

The sum of log likelihood score of each group on each column.

Examples

calc_likelihood_score(x = matrix(rnorm(5*10),5,10), group_labels = c(rep(1,2),rep(2,3)))

chrischen1/GNET2 documentation built on June 29, 2022, 8:53 a.m.