pedtools2.10.0 package

Creating and Working with Pedigrees and Marker Data

addAllele

Add allele

as_kinship2_pedigree

Convert pedigree to kinship2 format

as.data.frame.ped

Convert ped to data.frame

as.matrix.ped

Convert ped to matrix

as.ped

Conversions to ped objects

connectedComponents

Connected pedigree components

distributeMarkers

Distribute markers evenly along a set of chromosomes

expectedHomozygosity

Expected homozygosity and heterozygosity

extractSingletons

Extract singletons from pedigree

famid

Family identifier

founderInbreeding

Inbreeding coefficients of founders

freqDatabase

Allele frequency database

getAlleles

Allele matrix manipulation

getComponent

Pedigree component

getGenotypes

Genotype matrix

getMap

Tabulate marker positions

getSex

Get or set the sex of pedigree members

harmoniseMarkers

Harmonise markers across components in a ped list

inbreedingLoops

Pedigree loops

is.marker

Test if something is a marker

is.ped

Is an object a ped object?

isHomozygous

Find homozygous genotypes

locusAttributes

Get or set locus attributes

marker_attach

Attach markers to pedigrees

marker_getattr

Get marker attributes

marker_inplace

Set marker attributes

marker_prop

Marker properties

marker_select

Select or remove attached markers

marker_setattr

Set marker attributes

marker

Marker objects

maskPed

Mask and unmask pedigree datasets

mendelianCheck

Check for Mendelian errors

mergePed

Merge two pedigrees

newMarker

Internal marker constructor

newPed

Internal ped constructor

nMarkers

The number of markers attached to a pedigree

ped_basic

Create basic pedigrees

ped_complex

Complex pedigree structures

ped_internal

Internal ordering of pedigree members

ped_modify

Add/remove pedigree members

ped_subgroups

Pedigree subgroups

ped_utils

Pedigree utilities

ped

Pedigree construction

pedtools-package

pedtools: Creating and Working with Pedigrees and Marker Data

plot.ped

Plot pedigree

plotmethods

Internal plot methods

plotPedList

Plot a collection of pedigrees.

print.nucleus

S3 methods

print.ped

Printing pedigrees

randomPed

Random pedigree

readPed

Read a pedigree from file

relabel

Get or modify pedigree labels

sameGenotype

Find markers for which two individuals have the same genotype

setMutmod

Set a mutation model

setSNPs

Attach SNP loci to a pedigree

sortGenotypes

Sort the alleles in each genotype

swapGenotypes

Swap genotypes between individuals

transferMarkers

Transfer marker data

validatePed

Pedigree errors

writePed

Write a pedigree to file

A comprehensive collection of tools for creating, manipulating and visualising pedigrees and genetic marker data. Pedigrees can be read from text files or created on the fly with built-in functions. A range of utilities enable modifications like adding or removing individuals, breaking loops, and merging pedigrees. An online tool for creating pedigrees interactively, based on 'pedtools', is available at <https://magnusdv.shinyapps.io/quickped>. 'pedtools' is the hub of the 'pedsuite', a collection of packages for pedigree analysis. A detailed presentation of the 'pedsuite' is given in the book 'Pedigree Analysis in R' (Vigeland, 2021, ISBN:9780128244302).

  • Maintainer: Magnus Dehli Vigeland
  • License: GPL-3
  • Last published: 2026-02-01