Learn R Programming

⚠️There's a newer version (1.3.23) of this package.Take me there.

popkin (version 1.1.2)

Estimate Kinship and FST under Arbitrary Population Structure

Description

Provides functions to estimate the kinship matrix of individuals from a large set of biallelic SNPs, and extract inbreeding coefficients and the generalized FST (Wright's fixation index). Method described in Ochoa and Storey (2016) .

Copy Link

Version

Install

install.packages('popkin')

Monthly Downloads

313

Version

1.1.2

License

GPL-3

Issues

Pull Requests

Stars

Forks

Maintainer

Alejandro Ochoa

Last Published

February 14th, 2019

Functions in popkin (1.1.2)

rescalePopkin

Rescale kinship matrix to set a given kinship value to zero.
plotPopkin

Visualize one or more kinship matrices
weightsSubpops

Get weights for individuals that balance subpopulations
popkin-package

A package for estimating kinship and FST under arbitrary population structure
popkin

Estimate kinship from a genotype matrix and subpopulation assignments
inbrDiag

Replace kinship diagonal with inbreeding coefficients
pwfst

Estimate the individual-level pairwise FST matrix
neff

Calculates the effective sample size of the data
fst

Extract FST from a population-level kinship matrix or vector of inbreeding coefficients
inbr

Extract inbreeding coefficients from a kinship matrix