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

Updated column tooltips #1189

Open
wants to merge 2 commits into
base: hotfix
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 7 additions & 3 deletions pvactools/tools/pvacview/styling.R
Original file line number Diff line number Diff line change
Expand Up @@ -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 number of top-scoring, unique peptides included for review.',",
" '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.',",
Expand All @@ -31,10 +32,13 @@ 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.',",
" 'Acpt - Click the thumbs-up button to accept a neoantigen candidate.',",
" 'Rej - Click the thumbs-down button to reject a neoantigen candidate.',",
" 'Rev - Click the flag button to mark a neoantigen candidate for review.'],",
"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]);"),
gsub("7", hla_count, "for (var i = 5; i-5 < tips.length; i++) {"),
gsub("7", hla_count, "$(header[i]).attr('title', tips[i-5]);"),
"}"
)
}
Expand Down