You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
thank you for the development of Splatter, it's been very exciting exploring your package so far.
I have been using Splatter to simulate data of one group with varying heterogeneity. To set the heterogeneity levels I am adjusting the BCV parameters (for higher heterogeneity -> increase bcv.common and decrease bcv.df).
In the following picture, you can see that in the PCA plots the cells are more dispersed with higher heterogeneity (as expected). However, when I plotted the Elbow plots (below each PCA plot) I noticed that the increase in heterogeneity is mainly comming from the first PC.
This looks super unnatural to me and I have never seen this in real scRNAseq data. Do you know why this is happening? Also, despite this, do you think that I can further use the datasets that I have created, i.e. is it a problem that the Elbow plot looks like this?
PS: Apart from only changing the BCV parameters, I also estimated the parameters from real data: immune cells with low heterogeneity (Naive T/B cells) and high heterogeneity (macrophages/monocytes) and simulated new scRNAseq datasets with said parameters. Once again, I noticed that the additional heterogenetiy that the macrophages and monocytes have is again described mostly by PC1. Since the Elbow plot of the simulated macrophages/monocytes (estimated from real) data looks like this, it really seems that its a feature of Splatter to describe the heterogenetiy on only the first PC...
Thank you very much in advance.
The text was updated successfully, but these errors were encountered:
Thanks for giving {splatter} a go. Modifying the variation in a single population is something that hasn't come up very often and is maybe something that the splat simulation doesn't do very well. As you have seen the bcv parameters have some effect but maybe not what you would like and introducing enough different kinds of variation is something many simulations struggle with. I would be curious to see what this looks like in real data though. If you subset to only similar cells in a real population do you see a similar effect on the PCA?
An alternative approach which has been used previously is to simulate a single path rather than one homogenous group. This gives you access to more parameters which you can manipulate to give you something closer to what you want, for example by reducing the amount of differential expression along the path so that it gives your cells some variation but not enough to create two separate populations.
Hi,
thank you for the development of Splatter, it's been very exciting exploring your package so far.
I have been using Splatter to simulate data of one group with varying heterogeneity. To set the heterogeneity levels I am adjusting the BCV parameters (for higher heterogeneity -> increase bcv.common and decrease bcv.df).
![Screenshot 2024-08-13 105004](https://private-user-images.githubusercontent.com/178152064/357341495-ff33238e-9e74-4f1b-9b4e-31fb4f9b127a.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MzkxNDY2NzIsIm5iZiI6MTczOTE0NjM3MiwicGF0aCI6Ii8xNzgxNTIwNjQvMzU3MzQxNDk1LWZmMzMyMzhlLTllNzQtNGYxYi05YjRlLTMxZmI0ZjliMTI3YS5wbmc_WC1BbXotQWxnb3JpdGhtPUFXUzQtSE1BQy1TSEEyNTYmWC1BbXotQ3JlZGVudGlhbD1BS0lBVkNPRFlMU0E1M1BRSzRaQSUyRjIwMjUwMjEwJTJGdXMtZWFzdC0xJTJGczMlMkZhd3M0X3JlcXVlc3QmWC1BbXotRGF0ZT0yMDI1MDIxMFQwMDEyNTJaJlgtQW16LUV4cGlyZXM9MzAwJlgtQW16LVNpZ25hdHVyZT03NzZhZTk4YjI3ZWI4YjRiODI0MjdkZDUyYTQxZTQ3NjhkODBmNWFiMWFhMzZjYjk4MDRkZDg1Y2ExYjE1MDMzJlgtQW16LVNpZ25lZEhlYWRlcnM9aG9zdCJ9.4t-4FWzo4z2W01DEMXVYd3yVO0GLLbpw3TPdfhMdHEo)
In the following picture, you can see that in the PCA plots the cells are more dispersed with higher heterogeneity (as expected). However, when I plotted the Elbow plots (below each PCA plot) I noticed that the increase in heterogeneity is mainly comming from the first PC.
This looks super unnatural to me and I have never seen this in real scRNAseq data. Do you know why this is happening? Also, despite this, do you think that I can further use the datasets that I have created, i.e. is it a problem that the Elbow plot looks like this?
PS: Apart from only changing the BCV parameters, I also estimated the parameters from real data: immune cells with low heterogeneity (Naive T/B cells) and high heterogeneity (macrophages/monocytes) and simulated new scRNAseq datasets with said parameters. Once again, I noticed that the additional heterogenetiy that the macrophages and monocytes have is again described mostly by PC1. Since the Elbow plot of the simulated macrophages/monocytes (estimated from real) data looks like this, it really seems that its a feature of Splatter to describe the heterogenetiy on only the first PC...
![Screenshot 2024-08-13 110415](https://private-user-images.githubusercontent.com/178152064/357346010-cb70ad17-ae1d-4524-b634-5f3f32291bbc.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MzkxNDY2NzIsIm5iZiI6MTczOTE0NjM3MiwicGF0aCI6Ii8xNzgxNTIwNjQvMzU3MzQ2MDEwLWNiNzBhZDE3LWFlMWQtNDUyNC1iNjM0LTVmM2YzMjI5MWJiYy5wbmc_WC1BbXotQWxnb3JpdGhtPUFXUzQtSE1BQy1TSEEyNTYmWC1BbXotQ3JlZGVudGlhbD1BS0lBVkNPRFlMU0E1M1BRSzRaQSUyRjIwMjUwMjEwJTJGdXMtZWFzdC0xJTJGczMlMkZhd3M0X3JlcXVlc3QmWC1BbXotRGF0ZT0yMDI1MDIxMFQwMDEyNTJaJlgtQW16LUV4cGlyZXM9MzAwJlgtQW16LVNpZ25hdHVyZT01YmIwMmZlMzRjMDE4MzA0NGVlM2ZlYjUzNzRhMjZhZTkyNWFjMzU3MzU0MGI0ODIyMzM2MzE5MmUyNzY4NmNhJlgtQW16LVNpZ25lZEhlYWRlcnM9aG9zdCJ9.cr9YIodNdswtSy0BJUhoPROWhmcFsIB6t61OCfalZN0)
Thank you very much in advance.
The text was updated successfully, but these errors were encountered: