createSRT {SRTsim}R Documentation

Create simSRT object

Description

Create simSRT object

Usage

createSRT(count_in, loc_in, refID = "ref1")

Arguments

count_in

A gene expression count matrix

loc_in

A location dataframe with colnames x,y,label

refID

A character reference sample identifier. Default = ref1.

Value

Returns a spatialExperiment-based object

Examples


## Create a simSRT object
toySRT  <- createSRT(count_in=toyData$toyCount,loc_in = toyData$toyInfo)

## Explore the object
toySRT 

[Package SRTsim version 0.99.6 Index]