Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add variables to explore low quality spots from scran #9

Closed
lcolladotor opened this issue Jan 20, 2021 · 0 comments
Closed

Add variables to explore low quality spots from scran #9

lcolladotor opened this issue Jan 20, 2021 · 0 comments

Comments

@lcolladotor
Copy link
Member

Before #8 and likely also before #7, we'll want to add a few things to our sce object. One of them could be a (or more than one) discrete variable https://github.com/LieberInstitute/spatialLIBD/blob/master/R/run_app.R#L58 that tells us what were spots that scran's quality control checks (designed for scRNA-seq data, not Visium data) are of low quality and should be discarded. That is, running code like https://github.com/LieberInstitute/HumanPilot/blob/master/Analysis/sce_scran.R#L32-L33 then taking the outputs (which are logical vectors) and converting them to discrete variables (so factor or character).

Let's try this with the 3 columns in https://github.com/LieberInstitute/HumanPilot/blob/master/Analysis/sce_scran.R#L35. So something like:

sce$scran_discard <- factor(edit_me, levels = c("TRUE", "FALSE"))
sce$scran_low_lib_size <- ...
sce$low_n_features <- ...

This might be more relevant for the LC data than the DLPFC data. But it'll be good to check.

lcolladotor pushed a commit that referenced this issue Jul 14, 2022
…ped by cell type; merge all excitatory and all inhibitory cell types into a single category each; select ~200 unique markers for now. Closes #9.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants