omnideconv / deconvBench

Comparison of 2nd generation deconvolution methods implemented in omnideconv
2 stars 0 forks source link

Lorenzo tests #23

Closed LorenzoMerotto closed 9 months ago

LorenzoMerotto commented 1 year ago

Overview of the analysis we want to carry on simulated datasets:

We will then simulate some datasets using the finer level. Then we will obtain the samples + the facs. The facs can then be combined to obtain the samples composition at the three different levels. Then, starting with the same single cells we will build the signature matrix using the three different levels of annotation -> we wil get three signature matrices to be used to deconvolve the same bulk. We can then compare each bulk to the reference at the respective level of annotations. We could do this once for T cell subtypes, once for dendritic cell subtypes

Now, what I have in mind is: we create an individual Nextflow process for each of these setups, and we run all of them subsequentially in the simulation workflow. The problem is that in some cases we have more parameters than others, which would lead to many optional inputs for the SimulateBulkNF.R script. So theoretically we could create multiple R scripts for each simulation (es simulation_spillover.R, simulation_sensitivity.R, etc), which would be also a cleaner solution overall IMO

LorenzoMerotto commented 1 year ago

@alex-d13 Let me know what you think considering my comments

alex-d13 commented 1 year ago

I think splitting it up would be much nicer. So basically we have one process+script for each simulation setup right? And the workflow would then consist of:

  1. simulation_spillover
  2. simulation_unkown
  3. simulation_resolution
  4. simulation_background
  5. build_signature
  6. deconvolute
  7. compute_metrics

Where the outputs of steps 1-4 will be concatenated into one long list of pseudo-bulks that we use as input for steps 5-7.

LorenzoMerotto commented 1 year ago

Then I think in this way it is easier to work independently on each simulation script, or to add new tests

LorenzoMerotto commented 1 year ago

@alex-d13 I updated the part for the different resolutions, how does that sound to you?

alex-d13 commented 1 year ago

I like it :)

LorenzoMerotto commented 1 year ago

Note for @LorenzoMerotto

Files that need to be added/Things to do: