Skip to content

Commit

Permalink
Update maaslin3.R
Browse files Browse the repository at this point in the history
  • Loading branch information
WillNickols committed Jan 6, 2025
1 parent 3d9f84d commit 4b21012
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 4b21012

Please sign in to comment.