Skip to content

Commit

Permalink
fix one sample error in filter_taxa of microtable
Browse files Browse the repository at this point in the history
  • Loading branch information
ChiLiubio committed Nov 8, 2024
1 parent 6142be4 commit 614526a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion R/microtable.R
Original file line number Diff line number Diff line change
Expand Up @@ -180,7 +180,7 @@ microtable <- R6Class(classname = "microtable",
if(length(filter_names) == nrow(raw_otu_table)){
stop("All features are filtered! Please adjust the parameters")
}
new_table <- raw_otu_table[! rownames(raw_otu_table) %in% filter_names, ]
new_table <- raw_otu_table[! rownames(raw_otu_table) %in% filter_names, , drop = FALSE]
}
self$otu_table <- new_table
self$tidy_dataset()
Expand Down

0 comments on commit 614526a

Please sign in to comment.