README.md

MetQC

The goal of MetQC is to provide Quartet-based QCtools for Metabolomics.

Installation

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")

Example

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)


chinese-quartet/MetQC documentation built on Dec. 19, 2021, 3:57 p.m.