Skip to content

Latest commit

 

History

History
37 lines (28 loc) · 2.25 KB

File metadata and controls

37 lines (28 loc) · 2.25 KB

FeatureAnnotations

Summary of the results of a feature (aligned over runs). Can be added to a AlignedFeature. The different annotation fields within this summary object are null if the corresponding feature does not contain the represented results. If fields are non-null the corresponding result has been computed but might still be empty.

Properties

Name Type Description Notes
formula_annotation FormulaCandidate [optional]
structure_annotation StructureCandidateScored [optional]
compound_class_annotation CompoundClasses [optional]
confidence_exact_match float Confidence Score that represents the confidence whether the top hit is correct. [optional]
confidence_approx_match float Confidence Score that represents the confidence whether the top hit or a very similar hit (estimated by MCES distance) is correct. [optional]
expansive_search_state ConfidenceMode [optional]
specified_databases List[Optional[str]] List of databases that have been specified by for structure db search. Null if no structure db search has been performed. [optional]
expanded_databases List[Optional[str]] List of databases that have been used to expand search space during expansive search. Null if no structure db search has been performed. [optional]

Example

from PySirius.models.feature_annotations import FeatureAnnotations

# TODO update the JSON string below
json = "{}"
# create an instance of FeatureAnnotations from a JSON string
feature_annotations_instance = FeatureAnnotations.from_json(json)
# print the JSON string representation of the object
print(FeatureAnnotations.to_json())

# convert the object into a dict
feature_annotations_dict = feature_annotations_instance.to_dict()
# create an instance of FeatureAnnotations from a dict
feature_annotations_from_dict = FeatureAnnotations.from_dict(feature_annotations_dict)

[Back to Model list] [Back to API list] [Back to README]