calc_likelihood_score: Calculate Gaussian Likelihood score.

Description Usage Arguments Value Examples

View source: R/build_module.R

Description

Calculate Gaussian Likelihood score.

Usage

1
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

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

GNET2 documentation built on Nov. 8, 2020, 8:03 p.m.