Title: | Calculate 4 Key Reporting Measures |
---|---|
Description: | Perform calculations for the WHO International Reference Reagents for the microbiome. Using strain, species or genera abundance tables generated through analysis of 16S ribosomal RNA sequencing or shotgun sequencing which included a reference reagent. This package will calculate measures of sensitivity, False positive relative abundance, diversity, and similarity based on mean average abundances with respect to the reference reagent. |
Authors: | Jacob Dehinsilu [aut, cre] , Ravneet Bhuller [aut] |
Maintainer: | Jacob Dehinsilu <[email protected]> |
License: | GPL-3 |
Version: | 1.0.2 |
Built: | 2024-11-16 06:54:03 UTC |
Source: | CRAN |
Calculate the 4 key reporting measures for the WHO International Reference Reagents for the microbiome
microbiomeMQC(input, taxonomic_level, output)
microbiomeMQC(input, taxonomic_level, output)
input |
Path to the .xlsx or .csv file.e.g. "C:\Users\joeblogs\Desktop\data.xlsx" |
taxonomic_level |
The taxonomic level ("strain", "species", or "genus") that you are using. |
output |
Path to save the output CSV file (file path must end with the file name e.g. "C:\Users\joeblogs\Desktop\MQC.csv" |
The 4 key reporting measures (using the example of species) are:
Sensitivity: How many species from the reagent are correctly identified.
Diversity: The total number of species detected.
FPRA: The relative abundance of false positives.
Similarity: The Bray-Curtis dissimilarity in composition between the species profile reported and the 'ground truth' profile of the reagent.
To see how the data should be formatted do: data(MQC_testdata) FP = false positive i.e. those bacteria that do not appear in the reagent
No return value. The function writes the results to the specified CSV file.
input <- system.file("extdata", "MQC_testdata.csv", package = "microbiomeMQC") output <- tempfile(fileext = ".csv") microbiomeMQC(input, "species", output)
input <- system.file("extdata", "MQC_testdata.csv", package = "microbiomeMQC") output <- tempfile(fileext = ".csv") microbiomeMQC(input, "species", output)
Data used for demonstrating the functionality of the microbiomeMQC package.
data(MQC_testdata)
data(MQC_testdata)
An object of class data.frame
with 26 rows and 6 columns:
species
DNA_hilo_RR
perfect result
high FPRA example
high diversity example
low sensitivity example
Generated by the package authors for demonstration purposes.