Skip to contents

Internal function. When Region components (e.g., cellMetadata) have been combined to do computation over Analyses, this function re-extracts Regions from the combined analysis, and returns them as a list. All information in the Region --> Analysis --> Region conversion is conserved. Any modifications to Analyses are returned to the Region.

Usage

.smsplit(combined.regions, split.region.names, on = "Region")

Arguments

combined.regions

A list of combined Regions, created by .smc or .smgroup

split.region.names

These will be Region names (the id slot) of the resultant splits. By default, the sorted set of unique values in the on column.

on

A column name from the cellMetadata column of an Analysis

The split, by default, occurs based on the original Region designations that went into .smc or .smgroup, though any column name can be passed to on

Scroll to top