-
Notifications
You must be signed in to change notification settings - Fork 63
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
Updated column tooltips #1189
base: hotfix
Are you sure you want to change the base?
Updated column tooltips #1189
Changes from 1 commit
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -20,6 +20,7 @@ callback <- function(hla_count, score_mode) { | |
" 'Allele',", | ||
" 'Pos - The one-based position of the start of the mutation within the epitope sequence. 0 if the start of the mutation is before the epitope (as can occur downstream of frameshift mutations).',", | ||
" 'Prob Pos - Problematic positions within the best peptide.',", | ||
" 'Num Included Peptides - The total number of peptides for this mutation.',", | ||
" 'Num Passing Peptides - The number of unique well-binding peptides for this mutation.',", | ||
gsub("X", score_mode," 'IC50 MT - X IC50 binding affinity of the best-binding mutant epitope across all prediction algorithms used.', "), | ||
" 'IC50 WT - IC50 binding affinity of the corresponding wildtype epitope.',", | ||
|
@@ -31,7 +32,7 @@ callback <- function(hla_count, score_mode) { | |
" 'RNA Depth - Tumor RNA depth at this position.',", | ||
" 'DNA VAF - Tumor DNA variant allele frequency (VAF) at this position.',", | ||
" 'Tier - A tier suggesting the suitability of variants for use in vaccines.',", | ||
" 'Eval - User-selected evaluation of neoantigen candidate. Options include: Accept, Reject, Review. (Default: Pending)'],", | ||
" 'Ref Match - Indicates if the query sequence has a hit in the reference proteome.'],", | ||
"header = table.columns().header();", | ||
gsub("7", hla_count, "for (var i = 7; i-7 < tips.length; i++) {"), | ||
gsub("7", hla_count, "$(header[i]).attr('title', tips[i-7]);"), | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I'm not 100% sure whether the numbers here need adjusting. I think it has something to do with columns we drop for display purposes but I'm not 100% sure. If you haven't run pVACview with your modifications, please do to ensure that there are no errors or warnings related to this. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. The hla_count is now 5, so I updated the gsub commands to reflect this. I did notice when you click on a column value errors appear in the console. This occurred before and after I modified the gsub commands and also happens on the staging branch. Might be worth looking into There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I tried this change with a couple of different files and it looks like it now only works for files where the HLA count is the same as for the HCC1395 demo data. For anything with fewer or more HLAs the tooltips are shifted. If I change it back to how it was originally, it seems to work fine aside from the messages you noticed in the console. I think those are unrelated. |
||
|
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.
This might be a bit confusing for our users. While this does reflect the total number of peptides available in pVACview with meta-data, it's not all of the peptides resulting from the mutation. In the context of the aggregated report this is described as:
Here it might make sense to word it as "The number of top-scoring, unique peptides included for review". @malachig @chrisamiller do you have opinions on this wording.