Pedigree: Create Pedigree

View source: R/pedigrees.R

PedigreeR Documentation

Create Pedigree

Description

Create a Pedigree for the Accession specified as 'progeny' with the given female and male parents.

Usage

Pedigree(
  progeny = NULL,
  female_parent = NULL,
  male_parent = NULL,
  type = "biparental"
)

Arguments

progeny

The progeny Accession or Accession name (or synonym)

female_parent

The female parent Accession or Accession name

male_parent

The male parent Accession or Accession name

type

(optional, default = 'biparental') The cross type (biparental, self, open, sib)

Value

Pedigree

See Also

Other Accession: Accession-class, Accession, Pedigree-class, buildAccessionTemplate(), buildPedigreeTemplate(), getSupportedAccessionProperties(), writeAccessionTemplate(), writePedigreeTemplate()

Examples

# Create a Pedigree from names
pedigree1 <- Pedigree('SL18-UCONN-S1', 'SA18-CB-S10-FG1', 'SL18-SF-S19-MG2')

# Create a Pedigree from existing Accessions
offspring <- Accession('SL18-UCONN-S1', 'Saccharina latissima')
mother <- Accession('SA18-CB-S10-FG1', 'Saccharina angustissima')
father <- Accession('SL18-SF-S19-MG2', 'Saccharina latissima')
pedigree2 <- Pedigree(offspring, mother, father)


TriticeaeToolbox/breedbase.R documentation built on March 23, 2024, 10:29 a.m.