compareSRT {SRTsim} | R Documentation |
Summarize metrics for reference data and synthetic data
Description
Summarize metrics for reference data and synthetic data
Usage
compareSRT(simsrt)
Arguments
simsrt |
A SRTsim object |
Value
Returns an object with summarized metrics
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)
## Compute metrics
toySRT <- compareSRT(toySRT)
[Package SRTsim version 0.99.6 Index]