ASR: Average Residue

Description Usage Arguments Value Author(s) Examples

View source: R/ASR.R

Description

To calculate average residues of the bi-clustering results

Usage

1
ASR(row_cluster,col_cluster,W)

Arguments

row_cluster

The cluster results of the rows of W, this value should be a vector whose length is the same as the number of rows in W

col_cluster

The cluster results of the columns of W, this value should be a vector whose length is the same as the number of columns in W

W

The matrix to be factorized

Value

The average residues of the bi-clustering results

Author(s)

Xiaoyao Yin

Examples

1
2
3
4
5
W <- simu_data_generation()
OSNMTF_res <- OSNMTF(W,k=5,l=4)
row_cluster <- OSNMTF_res[[2]][[1]]
column_cluster <- OSNMTF_res[[2]][[2]]
ASR_value <- ASR(row_cluster,column_cluster,W)

OSNMTF documentation built on Dec. 1, 2019, 1:22 a.m.