simCounts {SRTsim}R Documentation

Access synthetic count matrix

Description

Access synthetic count matrix

Usage

simCounts(x)

Arguments

x

SRTsim object

Value

Returns a synthetic count matrix

Examples


## Create a simSRT object
toySRT  <- createSRT(count_in=toyData$toyCount,loc_in = toyData$toyInfo)
set.seed(1)
## Estimate model parameters for data generation
toySRT <- srtsim_fit(toySRT,sim_schem="tissue")
## Generate synthetic data with estimated parameters
toySRT <- srtsim_count(toySRT)
simCounts(toySRT)[1:3,1:3]


[Package SRTsim version 0.99.6 Index]