Skip to content

zyleeyang/IdenHerb

Repository files navigation

IdenHerb

NOTICE

Due to the need to protect innovation, the core code will be published after the publication of the article

Description

IdenHerb is an open-source, cross-platform R script to identify herbs contained in Chinese patent medicines or other complex systems.

Installation instructions

To install via Github, run the following code in R console:

devtools::install_github('zyleeyang/IdenHerb')
library(IdenHerb)

Construction of characteristic ion groups of each herbs

setwd("data") #data represents the path where the data is stored.
#Step 1
internal_standard(data_file) #data_file represents the file that the data is stored.
#Output the retention time and m/z of all samples, for ensuring reliable data
#Step 2
Pre_processdata("example_data/") #example_data is a file containing herbs' data for constructing of characteristic ion groups
#Convert data format for subsequent analysis. Result 1 : processed_rawdata.csv
#Step 3
filter_data(unfilter_data = "processed_rawdata.csv")
#filter the data that peak area > 10000 (AB Sciex). Result 2 : processed_rawdata (This is a file)
#Step 4
character_ion(proceseed_rawdata = "processed_rawdata") #Constrction of characteristic ion groups of each herbs
#Result 3 : herb_charcter_ion.csv

Chinese patent medicine match

#Step 1
internal_standard(data_file) #data_file represents the file that the data is stored.
#Output the retention time and m/z of all samples, for ensuring reliable data
#Step 2
Pre_processdata("example_data/") #example_data is a file containing Chinese patent data for identifying herbs
#Convert data format for subsequent analysis. Result 4 : processed_rawdata.csv
#Step 3
match_rate(need_match_data = 'need_match_data/') # need_match_data is the file containing the Result 4.

Contact us

If you have any problems when you use IdenHerb. Please contact us, you can send an emial to [email protected] or [email protected]

Data format

The data format can be found in the data we store in example_data

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages