format_pedigree: format_pedigree: Format Pedigree This function formats the...

Description Usage Arguments

View source: R/format_pedigree.R

Description

format_pedigree: Format Pedigree This function formats the pedigree for downstream analysis.

Usage

1
format_pedigree(ped, pedigree.type = "simple")

Arguments

ped

Pedigree object in "simple" format (Three columns for ANIMAL, MOTHER and FATHER) or in "plink" format (Five to Six columns for FAMILY, ANIMAL, FATHER, MOTHER, SEX and Phenotype, where the phenotype column is optional). The simple argument can recognise the order of parents if they are named sensibly. Run simple.ped.name.rules() for an example.

pedigree.type

Defaults to "simple", can also accept "plink" which is equivalent for for first 5 to 6 columns of a PLINK .ped file.


susjoh/crimaptools documentation built on Oct. 13, 2020, 3:24 p.m.