The goal of MetQC is to provide Quartet-based QCtools for Metabolomics.
You can install the released version of MetQC from CRAN with:
install.packages("MetQC")
And the development version from GitHub with:
# install.packages("devtools")
devtools::install_github("chinese-quartet/MetQC")
library(MetQC)
## Get performance report for metabolomics data
### The result document was outputed to "output" directory under the working directory
GetPerformance(dt=sample_data,metadata=sample_metadata)
## Count SNR and plot related PCA plot
CountSNR(dt=sample_data,metadata=sample_metadata)
#> [1] 16.31711
## Count CTR and plot related scatter plot
CountCTR(dt=sample_data,metadata=sample_metadata)
#> [1] 0.952429
### The output directory can also be assigned.
# GetPerformance(output.path = [Your Path],dt=sample_data,metadata=sample_metadata)
# CountSNR(output.path = [Your Path],dt=sample_data,metadata=sample_metadata)
# CountCTR(output.path = [Your Path],dt=sample_data,metadata=sample_metadata)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.