Class BiosampleBuilder
java.lang.Object
org.phenopackets.phenopackettools.builder.builders.BiosampleBuilder
-
Method Summary
Modifier and TypeMethodDescriptionaddAllDiagnosticMarkers
(List<org.phenopackets.schema.v2.core.OntologyClass> markers) addAllFiles
(List<org.phenopackets.schema.v2.core.File> files) addAllMeasurements
(List<org.phenopackets.schema.v2.core.Measurement> measurements) addAllPathologicalTnmFindings
(List<org.phenopackets.schema.v2.core.OntologyClass> tnmFindings) addAllPhenotypicFeatures
(List<org.phenopackets.schema.v2.core.PhenotypicFeature> features) addDiagnosticMarker
(org.phenopackets.schema.v2.core.OntologyClass marker) addFile
(org.phenopackets.schema.v2.core.File file) addMeasurement
(org.phenopackets.schema.v2.core.Measurement measurement) addPathologicalTnmFinding
(org.phenopackets.schema.v2.core.OntologyClass tnmFinding) addPhenotypicFeature
(String id, String label) addPhenotypicFeature
(org.phenopackets.schema.v2.core.PhenotypicFeature feature) org.phenopackets.schema.v2.core.Biosample
build()
static BiosampleBuilder
derivedFromId
(String id) description
(String desc) histologicalDiagnosis
(org.phenopackets.schema.v2.core.OntologyClass histologicalDiagnosis) individualId
(String id) materialSample
(org.phenopackets.schema.v2.core.OntologyClass material) pathologicalStage
(org.phenopackets.schema.v2.core.OntologyClass stage) procedure
(org.phenopackets.schema.v2.core.Procedure procedure) sampledTissue
(org.phenopackets.schema.v2.core.OntologyClass tissue) sampledType
(org.phenopackets.schema.v2.core.OntologyClass tissue) sampleProcessing
(org.phenopackets.schema.v2.core.OntologyClass processing) sampleStorage
(org.phenopackets.schema.v2.core.OntologyClass storage) taxonomy
(org.phenopackets.schema.v2.core.OntologyClass taxon) timeOfCollection
(org.phenopackets.schema.v2.core.TimeElement time) tumorGrade
(org.phenopackets.schema.v2.core.OntologyClass grade) tumorProgression
(org.phenopackets.schema.v2.core.OntologyClass progression)
-
Method Details
-
builder
-
individualId
-
derivedFromId
-
description
-
sampledTissue
-
sampledType
-
addPhenotypicFeature
-
addPhenotypicFeature
public BiosampleBuilder addPhenotypicFeature(org.phenopackets.schema.v2.core.PhenotypicFeature feature) -
addAllPhenotypicFeatures
public BiosampleBuilder addAllPhenotypicFeatures(List<org.phenopackets.schema.v2.core.PhenotypicFeature> features) -
addMeasurement
-
addAllMeasurements
public BiosampleBuilder addAllMeasurements(List<org.phenopackets.schema.v2.core.Measurement> measurements) -
taxonomy
-
timeOfCollection
-
histologicalDiagnosis
public BiosampleBuilder histologicalDiagnosis(org.phenopackets.schema.v2.core.OntologyClass histologicalDiagnosis) -
tumorProgression
-
tumorGrade
-
pathologicalStage
-
addPathologicalTnmFinding
public BiosampleBuilder addPathologicalTnmFinding(org.phenopackets.schema.v2.core.OntologyClass tnmFinding) -
addAllPathologicalTnmFindings
public BiosampleBuilder addAllPathologicalTnmFindings(List<org.phenopackets.schema.v2.core.OntologyClass> tnmFindings) -
addDiagnosticMarker
-
addAllDiagnosticMarkers
public BiosampleBuilder addAllDiagnosticMarkers(List<org.phenopackets.schema.v2.core.OntologyClass> markers) -
procedure
-
addFile
-
addAllFiles
-
materialSample
-
sampleProcessing
-
sampleStorage
-
build
public org.phenopackets.schema.v2.core.Biosample build()
-