Read a file as a Filebacked Big Matrix by using package bigreadr.
For a mini-tutorial, please see this vignette.
filter = NULL,
type = c("double", "float", "integer", "unsigned short", "unsigned char", "raw"),
backingfile = drop_ext(file),
File to read.
Indices of columns to read (sorted).
The length of
select will be the number of columns of the resulting FBM.
Vector used to subset the rows of each data frame.
Type of the Filebacked Big Matrix (default is
"double" (double precision -- 64 bits)
"float" (single precision -- 32 bits)
"unsigned short": can store integer values from 0 to 65535.
It has vocation to become the basis for a
"unsigned char": can store integer values from 0 to 255.
It is the basis for class FBM.code256 in order to
access 256 arbitrary different numeric values.
It is used in package bigsnpr.
Path to the file storing the FBM data on disk.
An extension ".bk" will be automatically added.
file without its extension.
Arguments passed on to
Number of parts in which to split reading (and transforming).
Parts are referring to blocks of selected columns.
part_size to set a good value.
Number of lines to skip at the beginning of
Show progress? Default is
Size of the parts if
nb_parts is not supplied.
500 * 1024^2 (500 MB).
A Filebacked Big Matrix of type