Genotypes: Generate a numeric (dosage) HapMap file

genotypesR Documentation

Generate a numeric (dosage) HapMap file

Description

Generate a numeric (dosage) HapMap file

Usage

genotypes(
  geno_obj = NULL,
  geno_file = NULL,
  geno_path = NULL,
  nrows = Inf,
  na_string = "NA",
  prefix = NULL,
  maf_cutoff = NULL,
  SNP_effect = "Add",
  SNP_impute = "Middle",
  verbose = TRUE,
  chr_prefix = "chr"
)

Arguments

geno_obj

= NULL,

geno_file

= NULL,

geno_path

= NULL,

nrows

= Inf,

na_string

= "NA",

prefix

= NULL,

maf_cutoff

= NULL,

SNP_effect

= 'Add',

SNP_impute

= 'Middle',

verbose

= verbose

chr_prefix

= "chrm"

Value

A numeric HapMap

Author(s)

Samuel Fernandes and Alexander Lipka Last update: Apr 20, 2020

——————————————————————————


simplePHENOTYPES documentation built on Oct. 5, 2026, 1:06 a.m.