change values on Differential Expression parameters
Entering edit mode
jp3770 • 0
Last seen 2.0 years ago

Hello! I am trying to simulate single-cell data, generating different populations. I am wondering if, and how, I can change values of the Differential expression paramters (% of differential expressed genes and the difference in expression). In newSplatParams() We have Diff expr: [Probability] [Down Prob] [Location] [Scale]

But I do not know how to change them. THank you for your help in advance! J

splatter • 215 views
Entering edit mode
luke.zappia ▴ 50
Last seen 7 months ago

Hi @jp3770

Parameters can be set in few ways. These are examples for the Splat simulation but the same is true for the other models.

  • When creating a parameters object - params <- newSplatParams(nGenes = 100)
  • Updating an existing parameters object - params <- setParam(params, "nGenes", 100)
  • Supplied to the simulation function - sim <- splatSimulate(nGenes = 100)

The differential expression parameters you asked about are named de.prob, de.downProb, de.facLoc and de.facScale. You can see more about all the parameters for the Splat simulation by looking at the help file for the SplatParams object with ?SplatParams.


Login before adding your answer.

Traffic: 262 users visited in the last hour
Help About
Access RSS

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6