-
Notifications
You must be signed in to change notification settings - Fork 2
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 cellassign organs to metadata #608
Merged
sjspielman
merged 7 commits into
development
from
sjspielman/589-cellassign-organ-description
Dec 7, 2023
Merged
Add cellassign organs to metadata #608
sjspielman
merged 7 commits into
development
from
sjspielman/589-cellassign-organ-description
Dec 7, 2023
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
jashapiro
reviewed
Dec 7, 2023
Co-authored-by: Joshua Shapiro <[email protected]>
allyhawkins
approved these changes
Dec 7, 2023
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, just one minor docs update!
@@ -216,6 +226,17 @@ if (!is.null(opt$cellassign_predictions)) { | |||
# note that if `metadata(sce)$celltype_methods` doesn't exist yet, this will | |||
# come out to just the string "cellassign" | |||
metadata(sce)$celltype_methods <- c(metadata(sce)$celltype_methods, "cellassign") | |||
|
|||
# add cellassign reference organs to metadata | |||
cellassign_organs <- opt$celltype_ref_metafile |> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I say we just keep it at organs to keep it consistent with how PanglaoDB (and we) refer to them.
Co-authored-by: Ally Hawkins <[email protected]>
12 tasks
allyhawkins
pushed a commit
that referenced
this pull request
Jan 3, 2024
…organ-description Add cellassign organs to metadata
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Part of #589
This is the first of two PRs to get cellassign organs/tissues into the cell type report. Here, I just modify the
add_celltypes_to_sce
process and associated R script to get info into the metadata. Since we only need to do this for cellassign references, I set up nextflow to only pass in the file to R if cellassign is present.Screen shot of resulting
metadata(sce)
-While I was there, I also added in some file checks for cell typing files, which seemed like it couldn't hurt! One question is should we call these
organs
ortissues
? I went with organs since that's what we already call them. Also, my checks for whether we grabbed the organs successfully are maybe overkill, any thoughts?FYI I opened a related docs issue as well - AlexsLemonade/scpca-docs#211
*Edit - the next PR will get this into the cell type report!
Probably the main report cell type section so it appears in both htmls.*edit 2: nope, we refer folks to the supplemental report for this sort of information!