Skip to contents

Compute mutual information between two metadata columns Useful for knowing whether there are batch effects between unsupervised clusters and some technical covariate. Uses rsample under the hood to get bootstraps

Usage

calculateMutualInformation(object, column1, column2, n.bootstraps = 100)

Arguments

object

A SpatialMap object

column1

The name of col 1

column2

The name of col 2

n.bootstraps

How many bootstrap replicates should it perform?

Scroll to top