freq_from_bfile: Let 'PLINK'/'PLINK2' calculate the allele frequencies.

View source: R/freq_from_bfiles.R

freq_from_bfileR Documentation

Let PLINK/PLINK2 calculate the allele frequencies.

Description

Let PLINK/PLINK2 calculate the allele frequencies from PLINK1 binary filenames

Usage

freq_from_bfile(bfile, out, plink_options = create_plink_options())

Arguments

bfile

the base filename of the binary files (i.e. a .bed, .bim and .fam file). This parameter is named after the PLINK --bfile flag

out

the base filename of the output files. This parameter is named after the PLINK --out flag

plink_options

options to run PLINK, as created by create_plink_options

Value

a list with the following elements:

  • frq_table table with ?

  • log the log text

Note

This function is named after the --freq flag used by PLINK

Author(s)

Richèl J.C. Bilderbeek


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