| aggregate_metadata {ISAnalytics} | R Documentation |
Groups metadata by the specified grouping keys and returns a
summary of info for each group. For more details on how to use this function:
vignette("aggregate_function_usage", package = "ISAnalytics")
aggregate_metadata(
association_file,
grouping_keys = c("SubjectID", "CellMarker", "Tissue", "TimePoint"),
aggregating_functions = default_meta_agg(),
import_stats = lifecycle::deprecated()
)
association_file |
The imported association file (via import_association_file) |
grouping_keys |
A character vector of column names to form a grouping operation |
aggregating_functions |
A data frame containing specifications of the functions to be applied to columns in the association file during aggregation. It defaults to default_meta_agg. The structure of this data frame should be maintained if the user wishes to change the defaults. |
import_stats |
|
An aggregated data frame
Other Aggregate functions:
aggregate_values_by_key(),
default_meta_agg()
data("association_file", package = "ISAnalytics")
aggreg_meta <- aggregate_metadata(
association_file = association_file
)
head(aggreg_meta)