subset.mat: Take the matrix and subset out only the encoded individuals...

View source: R/relatedness.R

subset.matR Documentation

Take the matrix and subset out only the encoded individuals that are present in the status dataframe.

Description

Take the matrix and subset out only the encoded individuals that are present in the status dataframe.

Usage

## S3 method for class 'mat'
subset(mat.df, status.df)

Arguments

mat.df

The full matrix file to subset

status.df

The list of sampled individuals, matrix is subset to only these individuals.

Value

A subset of the input matrix.


KinformR documentation built on Feb. 17, 2026, 5:07 p.m.