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

View source: R/f.get.gen.data.cols.R

f.get.gen.data.colsR Documentation

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)

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?

Value

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


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