Learn R Programming

Haplin (version 7.3.2)

f.extract.ff.numeric: Extract a part of an ff array (matrix) and return it as numeric matrix

Description

This function returns the requested columns and/or rows and converts it to a numeric matrix (by default, the extraction from an ff matrix with defined levels returns a factor vector).

Usage

f.extract.ff.numeric(gen.data, cols = NULL, rows = NULL)

Value

Matrix with all the requested columns, data in numeric representation.

Arguments

gen.data

The ff matrix with genetic data.

cols

The sequence numbering the columns which are to be retrieved, if NULL (default) then all the columns will be extracted.

rows

The sequence numbering the rows which are to be retrieved, if NULL (default) then all the rows will be extracted.