RECEIVED AS A GITHUB ISSUE https://github.com/Oshlack/splatter/issues/16
Up/down regulation of random genes is working a bit weird.
plotPCA(splatSimulateGroups(groupCells=c(1000,1000), nGenes=21), colour_by='Group')
gives:
whereas plotPCA(splatSimulateGroups(groupCells=c(1000,1000), nGenes=22), colour_by='Group')
leads to:
Is this normal?
OK, this is not related to number of genes directly. Better question is why are these two so different:
plotPCA(splatSimulateGroups(groupCells=c(1000,1000), nGenes=21, seed=4))
plotPCA(splatSimulateGroups(groupCells=c(1000,1000), nGenes=21, seed=5))