Learn R Programming

smartsnp (version 1.2.0)

read_packedancestrymap: Read Files in PACKEDANCESTRYMAP format

Description

This function loads genotype data in PACKEDANCESTRYMAP format (binary or compressed).

Usage

read_packedancestrymap(pref)

Value

Returns a list containing a single element:

  • geno: Genotype data as R matrix.

Arguments

pref

The prefix of the file name that contains the genotype data (i.e., without the *.geno).