Learn R Programming

SRTsim (version 0.99.7)

simrowData: Access synthetic rowData

Description

Access synthetic rowData

Usage

simrowData(x)

Value

Returns the rowData of synthetic data

Arguments

x

SRTsim object

Examples

Run this code

## 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)
simrowData(toySRT)

Run the code above in your browser using DataLab