calc_likelihood_score {GNET2}R Documentation

Calculate Gaussian Likelihood score.

Description

Calculate Gaussian Likelihood score.

Usage

calc_likelihood_score(x, labels)

Arguments

x

A n by p matrix.

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), labels = c(rep(1,2),rep(2,3)))

[Package GNET2 version 1.0.0 Index]