Learn R Programming

Haplin (version 7.3.2)

f.get.gen.data.cols: Getter for the list with genetic or environmental data

Description

This function returns the columns requested from the column-wise splitted genetic/environmental data in ff format.

Usage

f.get.gen.data.cols(gen.data, cols, by.colname = FALSE)

Value

Matrix (in ff format) with all the requested columns.

Arguments

gen.data

The list with genetic/environmental data (in ff format).

cols

The sequence numbering (or listing) the columns which are to be retrieved; this should enumerate the columns as if all the data was in one large matrix.

by.colname

Logical: is 'cols' given as a number sequence (FALSE, default) or character vector (TRUE) naming the columns to choose?