maxplanck-ie / Rseurat

Single Cell RNA-seq Course
GNU General Public License v3.0
3 stars 0 forks source link

https://www.polleverywhere.com/multiple_choice_polls/O37srTQWC3KxHEP5Mtok1 correct answer is missing #127

Closed katsikora closed 5 months ago

katsikora commented 5 months ago

Through two different approaches, I obtain 976 cells with <=2000 RNA counts. This answer is missing from the poll options.

approach 1:

sum(pbmc@meta.data$nCount_RNA<=2000)

approach 2:

a<-LayerData(pbmc,assay="RNA",layer="counts")
sum(colSums(a)<=2000)
adRn-s commented 5 months ago

(colSums(pbmc.data) <= 2000) %>% sum()

Yeah. I think I recall this happening on the course too.

Is there any filtering when we move from pbmc.data (raw counts matrix iirc); to the seurat object that you are using? Please add 976 as an option. Finding the underlying difference would be relevant to know if both are correct or what.

This kind of "difficulties" with the polls are highly appreciated by me, it allows us to show how things work underneath.

katsikora commented 5 months ago

Adrian, I'm just rerunning the exact same Rmd from last year and trying to emulate participant experience :)

katsikora commented 5 months ago

On my side, I was wondering if anything changed on the side of the bundled data, as we've updated packages. I'm not going to spend time on this though .