get_n_samples_from_bed_table: Get the number of samples from a '.bed' table

View source: R/get_n_samples.R

get_n_samples_from_bed_tableR Documentation

Get the number of samples from a .bed table

Description

Get the number of samples from a .bed table

Usage

get_n_samples_from_bed_table(bed_table)

Arguments

bed_table

a table that maps the SNPs to the individuals, of which the column names are the names of the individuals, the row names are the names of the SNPs, and the values are the SNP variant. Use get_test_bed_table to get a .bed table as used in testing. Use read_plink_bed_file to read a PLINK .bed file. Use check_bed_table to test if a .bed table is valid. See also the bed file format reference at https://www.cog-genomics.org/plink2/formats#bed

Value

the number of samples


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