Skip to content

Commit 168e6a2

Browse files
authored
omics$composition removeNAs only applied on a single column
1 parent a40b795 commit 168e6a2

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

R/omics-class.R

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -994,7 +994,7 @@ omics <- R6::R6Class(
994994
self$feature_merge(feature_rank = feature_rank, feature_filter = feature_filter)
995995

996996
# Remove NAs when col_name is specified
997-
if (!is.null(col_name))
997+
if (!is.null(col_name) & length(col_name) == 1)
998998
self$removeNAs(col_name)
999999

10001000
# Converts matrix to data.table

0 commit comments

Comments
 (0)