Genetics Input/Output Functions


[Up] [Top]

Documentation for package ‘genio’ version 1.1.2

Help Pages

genio-package genio (GENetics I/O): A package for reading and writing genetics data
count_lines Count the number of lines of a file
delete_files_grm Delete all GCTA binary GRM files
delete_files_phen Delete PHEN files
delete_files_plink Delete all Plink binary files
genio genio (GENetics I/O): A package for reading and writing genetics data
geno_to_char Convert a genotype matrix from numeric to character codes
ind_to_fam Convert an Eigenstrat IND tibble into a Plink FAM tibble
make_bim Create a Plink BIM tibble
make_fam Create a Plink FAM tibble
read_bed Read a genotype matrix in Plink BED format
read_bim Read Plink *.bim files
read_eigenvec Read Plink eigenvec file
read_fam Read Plink *.fam files
read_grm Read GCTA GRM and related plink2 binary files
read_ind Read Eigenstrat *.ind files
read_matrix Read a numerical matrix file into an R matrix
read_phen Read *.phen files
read_plink Read genotype and sample data in a Plink BED/BIM/FAM file set.
read_snp Read Eigenstrat *.snp files
require_files_grm Require that GCTA binary GRM files are present
require_files_phen Require that PHEN file is present
require_files_plink Require that Plink binary files are present
sex_to_char Convert integer sex codes to character codes
sex_to_int Convert character sex codes to integer codes
tidy_kinship Create a tidy version of a kinship matrix
write_bed Write a genotype matrix into Plink BED format
write_bim Write Plink *.bim files
write_eigenvec Write eigenvectors table into a Plink-format file
write_fam Write Plink *.fam files
write_grm Write GCTA GRM and related plink2 binary files
write_ind Write Eigenstrat *.ind files
write_matrix Write a matrix to a file without row or column names
write_phen Write *.phen files
write_plink Write genotype and sample data into a Plink BED/BIM/FAM file set.
write_snp Write Eigenstrat *.snp files