readgeno: Data Input

Description Usage Arguments Value

View source: R/readgeno.R

Description

Read a file in table format from vcf/ped/bed

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
readgeno(
  inputfile,
  datatype,
  outputfile,
  screening = FALSE,
  father = "1/1",
  mother = "0/0",
  maf = NA,
  geno = NA,
  mind = NA,
  hwe = NA
)

Arguments

inputfile

input file name

datatype

inputfile type. support vcf/ped/bed

outputfile

output file name

screening

a logical value. use plink to screening

father

support a character vector or a number that father index of sample

mother

support a character vector or a number that father index of sample

maf

if screening == T ,it useful

geno

if screening == T ,it useful

mind

if screening == T ,it useful

hwe

if screening == T ,it useful

Value

data.frame


Nuvolar/BinMap documentation built on Dec. 18, 2021, 4:36 a.m.