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

View source: R/f.extract.ff.numeric.R

f.extract.ff.numericR Documentation

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)

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.

Value

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


Haplin documentation built on Sept. 11, 2024, 7:13 p.m.