<<<<<<< HEAD Map aggregated to pre-aggregated barcodes — unwindAggregation • SPATA2Unwind to pre-aggregation state — unwindAggregation • SPATA2
<<<<<<< HEAD

Map aggregated to pre-aggregated barcodes

unwindAggregation(object, var_names = NULL)
=======

This function reconstructs the original barcodes before the aggregation process was applied. It retrieves the pre-aggregation state of the data and, if specified, adds selected metadata variables.

unwindAggregation(object, var_names = NULL, verbose = NULL)
>>>>>>> 99de33d (v3.1.0 restored 1)

Arguments

object

An object of class SPATA2 or, in case of S4 generics, objects of classes for which a method has been defined.

var_names
<<<<<<< HEAD

Optional. A character vector specifying the names of metadata variables to include in the output. If NULL, only the original and aggregated barcodes are returned.

=======

Optional. A character vector specifying the names of metadata variables to include in the output. If NULL, only the original and aggregated barcodes are returned.

verbose

Logical. If TRUE, informative messages regarding the computational progress will be printed.

(Warning messages will always be printed.)

>>>>>>> 99de33d (v3.1.0 restored 1)

Value

A data.frame containing the original barcodes (barcodes_orig), the corresponding aggregated barcodes (barcodes_aggr), and any additional metadata variables specified in var_names.

<<<<<<< HEAD

Details

This function reconstructs the original barcodes before the aggregation process was applied. It retrieves the pre-aggregation state of the data and, if specified, adds selected metadata variables.

See also

reduceResolutionVisiumHD for aggregating barcodes by reducing resolution in VisiumHD data sets.

=======

See also

reduceResolutionVisiumHD for aggregating barcodes by reducing resolution in case of VisiumHD objects.

>>>>>>> 99de33d (v3.1.0 restored 1)