HEAD
unwindAggregation.Rd
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)
An object of class SPATA2
or, in case of S4 generics,
objects of classes for which a method has been defined.
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.
Logical. If TRUE
, informative messages regarding
the computational progress will be printed.
(Warning messages will always be printed.)
A data.frame
containing the original barcodes (barcodes_orig
),
the corresponding aggregated barcodes (barcodes_aggr
), and any additional
metadata variables specified in var_names
.
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.
reduceResolutionVisiumHD
for aggregating barcodes by reducing resolution
in VisiumHD data sets.
reduceResolutionVisiumHD
for aggregating barcodes by reducing resolution
in case of VisiumHD
objects.