Learn R Programming

smartsnp (version 1.1.0)

read_packedancestrymap: Read Files in PACKEDANCESTRYMAP format

Description

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

Usage

read_packedancestrymap(pref)

Arguments

pref

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

Value

Returns a list containing a single element:

  • geno Genotype data as R matrix.