Skip to content

Commit 6bc9ff2

Browse files
committed
fix additional bug - wrong check in stability analysis
1 parent c78d2cb commit 6bc9ff2

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

DESCRIPTION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
Package: resnmtf
22
Title: Determining a multi-view biclustering via ResNMTF
3-
Version: 0.0.1.0
3+
Version: 0.0.1.1
44
Authors@R:
55
person("Ella", "Orme", , "[email protected]", role = c("aut", "cre"))
66
Description: The package provides functions for performing ResNMTF on multi-view data. ResNMTF is a multi-view biclustering approach based on non-negative matrix tri-factorization (NMTF) which allows for overlapping and non-exhaustive biclusters. It is a flexible approach which allows for any combination of restrictions betweeen views e.g. shared rows between 1st and 2nd views, shared columns between 1st and 3rd views, etc.

R/stability_analysis.r

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -161,7 +161,7 @@ sample_view <- function(data, i, new_data, dim_1,
161161
new_data <- shuffled[["new_data"]]
162162
row_samples <- shuffled[["row_samples"]]
163163
col_samples <- shuffled[["col_samples"]]
164-
if (check_empty(data, i)) {
164+
if (check_empty(new_data, i)) {
165165
zeros_cols <- colSums(new_data[[i]]) != 0
166166
zeros_rows <- rowSums(new_data[[i]]) != 0
167167
if ((dims[1]) == dim_1[1]) {

0 commit comments

Comments
 (0)