from_DelayedArray_to_simple_seed_class: Coerce DelayedArray to its 'simple seed' form

View source: R/utils.R

from_DelayedArray_to_simple_seed_classR Documentation

Coerce DelayedArray to its 'simple seed' form

Description

Coerce DelayedArray to its 'simple seed' form

Usage

from_DelayedArray_to_simple_seed_class(x, drop = FALSE, do_transpose = TRUE)

Arguments

x

A DelayedArray

drop

If TRUE the result is coerced to the lowest possible dimension

do_transpose

Should transposed input be physically transposed?

Details

Like DelayedArray:::.from_DelayedArray_to_array but returning an object of the same class as seedClass(x) instead of an array. In doing so, all delayed operations are realised (including subsetting).

Value

An object of the same class as seedClass(x).

Note

Can be more efficient to leave the transpose implicit (do_transpose = FALSE) and switch from a ⁠row*()⁠ method to a ⁠col*()⁠ method (or vice versa).

Only works on DelayedArray objects with 'simple seeds'


PeteHaitch/DelayedMatrixStats documentation built on Nov. 9, 2024, 10:53 a.m.