cbind_snp_files: Column bind files with genotype matrices

Description Usage Arguments Value See Also

Description

Does row-wise concatenation of multiple genotype files, ignoring the first column in subsequent files. NB! Assumes rows are ordered identically in all files.

Usage

1
2
3
4
5
cbind_snp_files(fns, fnout, ncols = NULL, nlines = NULL, skiplines = 0,
  excludeids = integer(0), format = NULL, int = TRUE)

cbind_SNP_files(fns, fnout, ncols = NULL, nlines = NULL, skiplines = 0,
  excludeids = integer(0), format = NULL, int = TRUE)

Arguments

fns

Character vector of filenames to concatenate. Max 255 characters per filename due to R-Fortran.

fnout

Filename of resulting file

ncols

Number of columns to read from each file. When NULL (default), use all columns.

nlines

Number of lines to read from each file. When NULL (default), use all lines.

skiplines

Integer, number of lines to skip before outputting. nlines counts towards total number of lines, i.e. both skipped and outputted.

excludeids

Integer vector of first column id's to exclude from the output. nlines also counts towards excluded lines.

format

Character, Fortran edit descriptors for output. See parseformat.

int

Logical (default TRUE), read and write integers.

Value

Exit status, invisible.

See Also

rbind_snp_files


stefanedwards/Siccuracy documentation built on May 30, 2019, 10:44 a.m.