Skip to content

Commit

Permalink
fix bug in aggregate_motus.R
Browse files Browse the repository at this point in the history
  • Loading branch information
metabaRfactory authored Feb 3, 2025
1 parent 23f3c8e commit 2a5b6ca
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion R/aggregate_motus.R
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ aggregate_motus <- function(metabarlist,

pcrs.out <- metabarlist$pcrs[rownames(reads.out), ]
sample.out <-
metabarlist$samples[unique(metabarlist$pcrs$sample_id[pcrs.out$type == "sample"]), ]
metabarlist$samples[unique(metabarlist$pcrs$sample_id[pcrs.out$type == "sample"]), , drop=FALSE]

metabarlist.out <-
metabarlist_generator(
Expand Down

0 comments on commit 2a5b6ca

Please sign in to comment.