calc_likelihood_score {GNET2}R 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)))

[Package GNET2 version 1.9.0 Index]