writeGenosFimpute: Write SNP genotypes for FImpute

View source: R/FImpute.R

writeGenosFimputeR Documentation

Write SNP genotypes for FImpute

Description

Write SNP genotypes into a file formatted for FImpute.

Usage

writeGenosFimpute(X, genos.file, chips = NULL)

Arguments

X

matrix of bi-allelic SNP genotypes encoded in number of copies of the 2nd allele, i.e. as allele doses in 0,1,2, with genotypes in rows and SNPs in columns; missing values should be encoded as NA; the maximum length of genotypes identifiers is 30 characters

genos.file

path to the file in which genotypes will be saved

chips

if several microarrays were used, provide a vector with chip numbers which names are genotype identifiers (same as in X)

Value

nothing

Author(s)

Timothee Flutre


timflutre/rutilstimflutre documentation built on Feb. 7, 2024, 8:17 a.m.