Learn R Programming

rSHAPE (version 0.3.2)

buildPedigree: This is a convenience script to build an named list of empty lists, where the names are based on the genotype IDs being passed.

Description

This is a convenience script to build an named list of empty lists, where the names are based on the genotype IDs being passed.

Usage

buildPedigree(func_focalID)

Arguments

func_focalID

This should be any vector, that can be interpreted as character, and faithfully represent the genotype IDs of interest for your pedigree.

Value

a named list of empty lists.

Examples

Run this code
# NOT RUN {
# this creates a named list, this trivial function exists for future flexibility and method design.
buildPedigree(c(1,"zebra","walrus",4))

# }

Run the code above in your browser using DataLab