Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Small fix #12

Merged
merged 2 commits into from
Nov 21, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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.