Skip to content

Commit

Permalink
Merge pull request #10 from biobakery/devel
Browse files Browse the repository at this point in the history
Fix metadata bug
  • Loading branch information
WillNickols authored Jan 6, 2025
2 parents b7421e5 + 4b21012 commit a5e5a4b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion R/maaslin3.R
Original file line number Diff line number Diff line change
Expand Up @@ -940,7 +940,7 @@ maaslin_read_data <- function(input_data,
it must have appropriate rownames!")
}
data <- as.data.frame(input_data) # in case it's a tibble or something
} else if (inherits(metadata, 'DataFrame')) {
} else if (inherits(input_data, 'DataFrame')) {
data <- as.data.frame(input_data) # If it's BioC's DataFrame
} else if (is.matrix(input_data)) {
logging::logwarn("Input is a matrix,
Expand Down

0 comments on commit a5e5a4b

Please sign in to comment.