calc_E1: function calculating the E1 measurement

Description Usage Arguments Value Author(s) Examples

View source: R/calc_E1.R

Description

A function used to calculate the E1 measurement when the real mixing matrix is provided

Usage

1
calc_E1(A, Aest)

Arguments

A

real mixing matrix

Aest

estimated mixing matrix

Value

E1 measurement (numeric)

Author(s)

Niya Wang <[email protected]>

Examples

1
2
3
A <- matrix(runif(4),2,2)
Aest <- matrix(runif(4),2,2)
E1 <- calc_E1(A,Aest)  # to calculate the similarity of two randowm 2*2 matrix

Bioconductor-mirror/UNDO documentation built on June 1, 2017, 3:26 a.m.