
Convert a phenotype expression to / from a plain list
Source:R/phenotype_dsl.R
phenotype_serialize.Rdphenotype_to_list() returns a nested list (serializable with jsonlite::toJSON());
phenotype_from_list() rebuilds the expression.

R/phenotype_dsl.R
phenotype_serialize.Rdphenotype_to_list() returns a nested list (serializable with jsonlite::toJSON());
phenotype_from_list() rebuilds the expression.