index.genotype: Index the genotype file

Description Usage Arguments Value Author(s)

View source: R/index.genotype.R

Description

Index genotype file. The file must be tab-separated and ordered by chr, start, end position. Moreover, the first four columns must contain 'chr', 'start', 'end' and 'snpId' information. Then each additional column is named using a sample ID and represents its genotype. The genotype is coded as follow: 0 for ref/ref, 1 for ref/mut, 2 for mut/mut and -1 for missing values. The input file should be a text file.

Usage

1

Arguments

file

the name of the genotype file.

Value

the name of the indexed genotype file.

Author(s)

Jean Monlong


dgarrimar/sQTLseekeR2 documentation built on Nov. 22, 2021, 3:23 a.m.