get_n_samples_from_psam_table: Get the number of samples from a '.psam' table

View source: R/get_n_samples.R

get_n_samples_from_psam_tableR Documentation

Get the number of samples from a .psam table

Description

Get the number of samples from a .psam table

Usage

get_n_samples_from_psam_table(psam_table)

Arguments

psam_table

a tibble with as much rows as individuals. It has the following columns:

  • FID: the family ID

  • IID: the within-family ID

  • SEX: the sex

  • PHENO1: a phenotypic value

The uppercase column names are those as used by PLINK2.

Value

the number of samples


richelbilderbeek/plinkr documentation built on March 25, 2024, 3:18 p.m.