Testing results of Activity against Plant_compound and Essentail_oil_plant - Radhu903/Git_Learning- GitHub Wiki

  • Collect the frequency value of the ami search result occurrence file for activity, eoPlant, and plant_compound dictionary
  • Made a proper file with labeling according to the data.
  • Written the following python script to display the data in the file and generate the comparison graphs between activity with plant_compound and activity with essential oil plants.
import pandas as pd
Activity_Compound = pd.read_csv("Activity_Compound.csv")
Activity_Compound.head()
Activity_Plant = pd.read_csv("Activity_Plant.csv")
Activity_Plant.head()
FIGWIDTH = 15 
FIGHEIGHT = 10
import seaborn as sns
sns.set()
Activity_Compound.set_index('ActivityName').T.plot(kind='bar', figsize=(FIGWIDTH,FIGHEIGHT), stacked=True)

Result

compound

FIGURE 1: OUTPUT OF ACTIVITY WITH PLANT COMPOUND

plant

FIGURE 2: OUTPUT OF ACTIVITY WITH ESSENTIAL OIL PLANTS

TO-DO

  • clean the data properly and upload the results again