GitHub - ressomlab/MetID: This repo contains R package MetID. (original) (raw)
MetID
Description
This R package implements Baysian approach with pathway and network information to prioritize putative identifications of metabolites.
Installation
You can install MetID package from GitHub with:
install.packages("devtools")
devtools::install_github("ressomlab/MetID")
Example
library(MetID)
check if colnames of dataset meet requirement
names(demo1)
change colnames
colnames(demo1) <- c('query_m.z','name','formula','exact_m.z','pubchem_cid','kegg_id')
get scores
out <- get_scores_for_LC_MS(demo1, type = 'data.frame', na='-', mode='POS',iterations=1000)