CRAN/E | simfam

simfam

Simulate and Model Family Pedigrees with Structured Founders

Installation

About

The focus is on simulating and modeling families with founders drawn from a structured population (for example, with different ancestries or other potentially non-family relatedness), in contrast to traditional pedigree analysis that treats all founders as equally unrelated. Main function simulates a random pedigree for many generations, avoiding close relatives, pairing closest individuals according to a 1D geography and their randomly-drawn sex, and with variable children sizes to result in a target population size per generation. Auxiliary functions calculate kinship matrices, admixture matrices, and draw random genotypes across arbitrary pedigree structures starting from the corresponding founder values. The code is built around the plink FAM table format for pedigrees. Described in Yao and Ochoa (2022) doi:10.1101/2022.03.25.485885.

github.com/OchoaLab/simfam
Bug report File report

Key Metrics

Version 1.1.6
R ≥ 2.10
Published 2023-01-09 475 days ago
Needs compilation? yes
License GPL (≥ 3)
CRAN checks simfam results

Downloads

Yesterday 16 0%
Last 7 days 49 +9%
Last 30 days 161 +3%
Last 90 days 452 -35%
Last 365 days 2.154 -17%

Maintainer

Maintainer

Alejandro Ochoa

alejandro.ochoa@duke.edu

Authors

Alejandro Ochoa

aut / cre

Material

README
NEWS
Reference manual
Package source

Vignettes

'simfam': simulate and model family pedigrees with structured founders

macOS

r-release

arm64

r-oldrel

arm64

r-release

x86_64

r-oldrel

x86_64

Windows

r-devel

x86_64

r-release

x86_64

r-oldrel

x86_64

Old Sources

simfam archive

Depends

R ≥ 2.10

Imports

Rcpp
stats
tibble

Suggests

testthat ≥ 3.0.0
popkin
bnpsd ≥ 1.3.2
kinship2
RColorBrewer
knitr
rmarkdown

LinkingTo

Rcpp