jcapels / PlantsSM

A package to expose Secondary Metabolism of plants with Machine Learning and Systems Biology
MIT License
0 stars 0 forks source link

Propythia wrappers #3

Closed jcapels closed 2 years ago

jcapels commented 2 years ago

Added a wrapper for propythia.

Now one can access to any method of propythia for generating features.

One can do it like this:

` wrapper = PropythiaWrapper("get_formula") wrapper.featurize(dataset)

wrapper = PropythiaWrapper("get_apaac", lamda=11) wrapper.featurize(dataset) `

The dataset will then contain the features