IMB-Computational-Genomics-Lab / ascend

R package - Analysis of Single Cell Expression, Normalisation and Differential expression (ascend)
21 stars 7 forks source link

runCORE removes some cells #24

Open mkrzak opened 5 years ago

mkrzak commented 5 years ago

Hi, I am running ascend with the following commands: em <- ascend::newEMSet(assays = list(counts = data)) em <- ascend::filterLowAbundanceGenes(em) em <- ascend::normaliseByRLE(em) em <- ascend::runPCA(em) em <- ascend::runCORE(em, nres=40) In some of my datasets after runCORE is performed I see less number of cells stored in em object. It seems ascend removes some cells when performing clustering. Is it something normal, in the sense that the low quality cells are removed or it can be related to some errors in the clustering function? I would be grateful for your help, Monika

quanaibn commented 5 years ago

Hi Monika, runCORE removes cells that are not assigned to any cluster (i.e. singleton cells) and iteratively performs this scanning for outliers five times until no singleton is found or a message will be shown: "Many outliers have been detected. Please review your filtering and normalisation methods before trying to cluster again." We will edit the function documentation to clarify this default step. Best wishes, Quan

mkrzak commented 5 years ago

Dear @quanaibn , Thank you very much for clarification. Best, Monika