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/FastProjectR documentation built on June 13, 2024, 4:20 p.m.