analyzeHotspotObjectVision: Analyze a Hotspot object using built in methods such such as...

View source: R/methods-Module.R

analyzeHotspotObjectVisionR Documentation

Analyze a Hotspot object using built in methods such such as local correlation, signature overlap, etc. Necessary to run this function for Hotspot functionality in viewer to work.

Description

Analyze a Hotspot object using built in methods such such as local correlation, signature overlap, etc. Necessary to run this function for Hotspot functionality in viewer to work.

Usage

analyzeHotspotObjectVision(object, hs, tree = FALSE)

Arguments

object

the VISION object

hs

the Hotspot python object loaded by Reticulate

tree

whether to use tree as latent space. If TRUE, object should have a tree

Value

the modified VISION object with the following slots filled: Populates the modData, HotspotModuleScores, ModuleSignatureEnrichment and HotspotObject slots of object, as well as recalculates signature scores for new modules.


YosefLab/VISION documentation built on Feb. 19, 2023, 9:50 p.m.