FBM-methods {bigstatsr} R Documentation

Methods for the FBM class

Description

Methods for the FBM class

Accessor methods for class FBM. You can use positive and negative indices, logical indices (that are recycled) and also a matrix of indices (but only positive ones).

Dimension and type methods for class FBM.

Usage

## S4 method for signature 'FBM,ANY,ANY,ANY'
x[i, j, ..., drop = TRUE]

## S4 replacement method for signature 'FBM,ANY,ANY,ANY'
x[i, j, ...] <- value

## S4 method for signature 'FBM'
dim(x)

## S4 method for signature 'FBM'
length(x)

## S4 method for signature 'FBM'
typeof(x)

## S4 method for signature 'FBM'
diag(x)


Arguments

 x A FBM object. i A vector of indices (or nothing). You can use positive and negative indices, logical indices (that are recycled) and also a matrix of indices (but only positive ones). j A vector of indices (or nothing). You can use positive and negative indices, logical indices (that are recycled). ... Not used. Just to make nargs works. drop Whether to delete the dimensions of a matrix which have one dimension equals to 1. value The values to replace. Should be of length 1 or of the same length of the subset to replace.

[Package bigstatsr version 1.5.6 Index]