java.lang.Object
org.phenopackets.phenopackettools.builder.builders.PersonBuilder

public class PersonBuilder extends Object
  • Method Details

    • male

      public PersonBuilder male()
    • female

      public PersonBuilder female()
    • unknownSex

      public PersonBuilder unknownSex()
    • affected

      public PersonBuilder affected()
    • unaffected

      public PersonBuilder unaffected()
    • missing

      public PersonBuilder missing()
    • builder

      public static PersonBuilder builder(String familyId, String individualId, String paternalId, String maternalId)
    • builderWithParentsAsFounders

      public static PersonBuilder builderWithParentsAsFounders(String familyId, String individualId)
      Founders are persons in a PED file whose parents are not included. These parents are indicated by "0". This function creates a personBuilder with prepopulated father/mother ids of "0"
    • build

      public org.phenopackets.schema.v2.core.Pedigree.Person build()