Skip to content

Commit 50a684a

Browse files
committed
fixed issue
1 parent f4e5bba commit 50a684a

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

DESCRIPTION

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
Package: RLdbRDA
22
Type: Package
33
Title: Distance Based Redundancy Analysis
4-
Version: 0.1.1
4+
Version: 0.1.2
55
Author: Sebastian Proost
66
Maintainer: Sebastian Proost <[email protected]>
77
Description: Implementation of the Distance Based Redundancy Analysis as often used in the RaesLab.

R/rldbrda.R

+1-1
Original file line numberDiff line numberDiff line change
@@ -211,7 +211,7 @@ rldbrda <- function(df, meta, method="bray", p_cutoff=0.05) {
211211
stop("No significant features found, cannot continue!")
212212
}
213213

214-
cumul <- get_cumul(distmat, meta[, sign_r2])
214+
cumul <- get_cumul(distmat, meta[, sign_r2, drop=F])
215215

216216
out <- combine_data(r2, cumul)
217217

0 commit comments

Comments
 (0)