collapse_markers {IrisSpatialFeatures}R Documentation

This function collapses two markers into one, and reruns the counting of cells. Mostly a convenience function for the Shiny interface so we start with a completely split set successively adding more markers

Description

This function collapses two markers into one, and reruns the counting of cells. Mostly a convenience function for the Shiny interface so we start with a completely split set successively adding more markers

Usage

collapse_markers(image_set, marker1, marker2, combined)

## S4 method for signature 'ImageSet'
collapse_markers(image_set, marker1, marker2, combined)

Arguments

image_set

IrisSpatialFeatures ImageSet object.

marker1

Name of the first marker that should be collapsed.

marker2

Name of the second marker that should be collapsed.

combined

Name of the combined marker.

Value

IrisSpatialFeatures ImageSet object.

Examples

dataset <- IrisSpatialFeatures_data
ds <- collapse_markers(dataset,marker1="SOX10+ PDL1+",marker2="SOX10+ PDL1-", combined="SOX10+")


[Package IrisSpatialFeatures version 1.3.0 Index]