Skip to content

Commit

Permalink
Merge pull request #12 from nilsmechtel/small_fix
Browse files Browse the repository at this point in the history
Small fix
  • Loading branch information
nilsmechtel authored Nov 21, 2023
2 parents 497a6af + f767b02 commit 848b4db
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 7 deletions.
6 changes: 3 additions & 3 deletions R/MetAlyzer_dataset.R
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,7 @@ metalyzer_ascii_logo <- function() {
#' This function opens the given MetIDQ output Excel file and reads the full
#' given sheet.
#'
#' @param object MetAlyzer object
#' @param starter_list contains the file path and the sheet index
#'
#' @keywords internal
open_file <- function(starter_list) {
Expand Down Expand Up @@ -386,10 +386,10 @@ read_quant_status <- function(
#' is grouped by metabolites.
#'
#' @param metabolites metabolites MetAlyzer object
#' @param meta_columns A selection of columns from meta_data to add to
#' aggregated data frame
#' @param meta_data Meta_data of the MetAlyzer object
#' @param conc_values conc_values of a MetAlyzer object
#' @param quant_status quant_status of a MetAlyzer object
#' @param status_vec A vector of quantification status
#' @import dplyr
#'
#' @keywords internal
Expand Down
2 changes: 1 addition & 1 deletion R/calculate_log2FC.R
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ calculate_log2FC <- function(metalyzer_se, categorical, perc_of_min = 0.2, imput

## Check if already factor
group_vec <- df$Group
if (class(group_vec) != "factor") {
if (!is(group_vec, "factor")) {
group_vec <- factor(group_vec)
df$Group <- group_vec
cat("Warning: No order was given for categorical!\n")
Expand Down
5 changes: 3 additions & 2 deletions man/aggregate_data.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion man/open_file.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 848b4db

Please sign in to comment.