clusteringError: clusteringError

View source: R/helper.R

clusteringErrorR Documentation

clusteringError

Description

compute the clustering error

Usage

clusteringError(U = NULL, V, UTrue = NULL, VTrue, probUZero = 0, probVZero = 0)

Arguments

V:

phenotype - mediator matrix; each row represents a phenotype, each column represents a mediator. The number of mediators should be no larger than that of phenotypes.

VTrue:

true phenotype - mediator matrix; each row represents a phenotype, each column represents a mediator. The number of mediators should be no larger than that of phenotypes.

U:

genotype - mediator matrix estimator; each row represents a genotype, each column represents a mediator. The number of mediators should be no larger than that of genotypes. Default is NULL.

UTrue:

true genotype - mediator matrix; each row represents a genotype, each column represents a mediator. The number of mediators should be no larger than that of genotypes. Default is NULL.


ZijunGao/latentMediator documentation built on April 24, 2022, 12:12 a.m.