Skip to contents

This function is used to create and save a file-backed matrix with related information.

Usage

createRds(path, nrow, ncol)

Arguments

path

Path where to save the files (DO NOT SPECIFIY FILE EXTENSION).

nrow

Integer specifying number of rows.

ncol

Integer specifying number of columns.

Value

A list containing a file-backed matrix, a FAM tibble and a MAP tibble.

Details

When using this function both a .bk and .rds file will be created at the specified path. Besides the file-backed matrix two tibbles containing FAM (phenotype information) and MAP (SNP information) will be intialized and saved together with the file-backed matrix in the .rds file. Both the .bk and the .rds file must always be in the same directory. The function openRds can be used to access these files again (see function reference for openRds()).