This tool is specifically designed to merge qualitative and quantitative metabolomics data exported from Progenesis QI software.
QIreshape processes and merges datasets in CSV, XLSX, and TXT formats,prioritizing quantitative data when overlaps occur. The package filters data by qualitative score, handles duplicate entries, and augments the data with polarity information, making it ideal for Progenesis QI analysis workflows.
install.packages("remotes")
remotes::install_github("Chuanping-Zhao/QIreshape")
In the function QI_mergeQQ, the parameters "identical_path", "intensity_path", "score_value", and "polarity" respectively represent the pathway for the qualitative matrix, the pathway for the quantitative matrix, the qualitative score, and the mode of metabolite acquisition. These are all required parameters.
rm(list = ls())
library(QIreshape)
#QI_mergeQQ:Merge quantitative and qualitative matrices
demo <- QI_mergeQQ(identical_path="test/pos_identification.csv",
intensity_path="test/pos_measurement.csv",
score_value=0,#qualitative score
polarity="pos")
pos_identification.csv:
pos_measurement.csv
demo:
QI_mergePos:Merge Positive and Negative Metabolomics Data
pos_data <- read.csv("test/pos_result.csv")
neg_data<- read.csv("test/neg_result.csv")
all_Data <- QI_mergePos(posData =pos_data, negData=neg_data)
"pos_data" and "neg_data" are the combined data resulting from the function QI_mergeQQ, representing the summarization of qualitative and quantitative results under positive and negative ion modes respectively. QI_mergePos can merge the two matrices mentioned above. The merging rule is to select the metabolite with the highest score when there are multiple entries for the same metabolite under positive and negative ion modes. If there are still duplicate entries, the metabolite with the highest Fragmentation Score will be selected.