Grassroots Infrastructure
The Grassroots Infrastructure is a suite of computing tools to help users and developers use scientific data infrastructure that can easily be interconnected.
phenotype_statistics.h File Reference
#include "statistics.h"
#include "measured_variable.h"
#include "dfw_field_trial_service_library.h"
#include "study.h"
Include dependency graph for phenotype_statistics.h:

Go to the source code of this file.

Data Structures

struct  PhenotypeStatisticsNode
 A datatype for having the statistics of a given Measure Variable for a Study. More...
 

Functions

PhenotypeStatisticsNodeAllocatePhenotypeStatisticsNode (const char *measured_variable_name_s, const Statistics *src_p)
 
void FreePhenotypeStatisticsNode (ListItem *psn_p)
 
bool AddPhenotypeStatisticsNodeAsJSON (const PhenotypeStatisticsNode *psn_p, json_t *parent_p, const ViewFormat format, const FieldTrialServiceData *service_data_p)
 
bool AddPhenotypeStatisticsNodeFromJSON (Study *study_p, const json_t *phenotype_p, const FieldTrialServiceData *service_data_p)
 

Function Documentation

◆ AllocatePhenotypeStatisticsNode()

PhenotypeStatisticsNode* AllocatePhenotypeStatisticsNode ( const char *  measured_variable_name_s,
const Statistics src_p 
)

◆ FreePhenotypeStatisticsNode()

void FreePhenotypeStatisticsNode ( ListItem psn_p)

◆ AddPhenotypeStatisticsNodeAsJSON()

bool AddPhenotypeStatisticsNodeAsJSON ( const PhenotypeStatisticsNode psn_p,
json_t *  parent_p,
const ViewFormat  format,
const FieldTrialServiceData service_data_p 
)

◆ AddPhenotypeStatisticsNodeFromJSON()

bool AddPhenotypeStatisticsNodeFromJSON ( Study study_p,
const json_t *  phenotype_p,
const FieldTrialServiceData service_data_p 
)