scHOT_addTestingScaffold: scHOT_addTestingScaffold

View source: R/build.R

scHOT_addTestingScaffoldR Documentation

scHOT_addTestingScaffold

Description

Add a testing scaffold to a scHOT object

Usage

scHOT_addTestingScaffold(scHOT, testingScaffold)

Arguments

scHOT

A scHOT object

testingScaffold

A matrix with rows for each testing combination, and columns for level of dimensionality (1 for single gene etc.)

Value

A scHOT object with slot testingScaffold saved

Examples


data(MOB_subset)
sce_MOB_subset <- MOB_subset$sce_MOB_subset
scHOT_spatial <- scHOT_buildFromSCE(sce_MOB_subset,
assayName = "logcounts",
positionType = "spatial",
positionColData = c("x", "y"))
pairs <- matrix(c("Arrb1", "Mtor", "Dnm1l", "Gucy1b3"), ncol = 2, byrow = TRUE)
scHOT_spatial <- scHOT_addTestingScaffold(scHOT_spatial, pairs)



shazanfar/scHOT documentation built on June 29, 2023, 5:29 p.m.