Skip to content

Commit

Permalink
cosmetic fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
sigven committed Feb 24, 2025
1 parent 94d2e48 commit 048c6c1
Show file tree
Hide file tree
Showing 5 changed files with 16 additions and 36 deletions.
9 changes: 8 additions & 1 deletion R/classification.R
Original file line number Diff line number Diff line change
Expand Up @@ -874,7 +874,8 @@ assign_pathogenicity_evidence <- function(var_calls, settings, ref_data) {
as.character(NA)
)
) |>
tidyr::separate("HGVSp",c("tmpENSP","HGVSp_long"),sep=":") |>
tidyr::separate(
"HGVSp",c("tmpENSP","HGVSp_long"),sep=":", remove = F) |>
dplyr::left_join(
essential_nucleotides,
by = c("ENTREZGENE", "NUC_SITE")
Expand All @@ -893,6 +894,12 @@ assign_pathogenicity_evidence <- function(var_calls, settings, ref_data) {
dplyr::left_join(
benign_codons,
by = c("ENTREZGENE","CODON")) |>
dplyr::rename(
"HGVSp_short" = "HGVSP"
) |>
dplyr::select(
-c("HGVSp_long","tmpENSP")
) |>

## at same codon, but not the same variant (VAR_ID)
dplyr::mutate(ACMG_PM5 = dplyr::if_else(
Expand Down
1 change: 0 additions & 1 deletion data-raw/data-raw.R
Original file line number Diff line number Diff line change
Expand Up @@ -218,7 +218,6 @@ col_format_output[['tsv']] <-
"CPSR_CLASSIFICATION",
"CPSR_PATHOGENICITY_SCORE",
"CPSR_CLASSIFICATION_CODE",
"CPSR_CLASSIFICATION_DOC",
"CPSR_CLASSIFICATION_SOURCE"
)

Expand Down
Binary file modified data/col_format_output.rda
Binary file not shown.
39 changes: 7 additions & 32 deletions inst/templates/cpsr.css
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@

h1.title {
font-size: 34px;
font-size: 30px;
color: black;
}

Expand All @@ -16,6 +16,12 @@ h2, #TOC>ul>li {
color: black;
}

.quarto-title-banner {
/*height: 120px;*/
margin-left: -15px;
margin-right: -15px;
margin-top: 0px;
}

#container {
/*border: 2px dashed #444;*/
Expand Down Expand Up @@ -126,40 +132,9 @@ h2, #TOC>ul>li {
color: white;
}


.panel-tabset > .nav-tabs > .nav-item > .nav-link{
color: #007a74;
}

.tabset-margin-container{
color: white;
background-color: #007a74;
}
/*
.sidebar .margin-sidebar .toc-active .nav-link a {
color: #007a74
}
*/

.sidebar nav[role="doc-toc"] ul > li > a.active a.hover {
color: #007a74 !important;
}

/*
.quarto-title-block .quarto-title-banner {
/*background-image: url(../../man/figures/logo.png);
background-size: 150px;
background-position: left;
background-repeat: no-repeat;
padding-left: 10px;
background-origin: content-box;
}
*/

/*
.nav .navbar li.nav-item a.nav-link span {
color: #007a74 !important;
background-color: #007a74 !important;
}
*/

3 changes: 1 addition & 2 deletions inst/templates/cpsr_report.qmd
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ format:
fontsize: 0.93em
toc: true
toc-depth: 3
toc-expqand: 3
toc-expand: 3
toc-title: Contents
grid:
body-width: 940px
Expand Down Expand Up @@ -83,7 +83,6 @@ cat("</ul><br>")
#| eval: !expr as.logical(cps_report$content$snv_indel$eval)
```

<br>

```{r biomarkers_cpsr}
#| child: 'quarto/cpsr_biomarkers.qmd'
Expand Down

0 comments on commit 048c6c1

Please sign in to comment.