Skip to content

Commit

Permalink
feat: dataview proteomics translations
Browse files Browse the repository at this point in the history
  • Loading branch information
ESCRI11 committed Jul 9, 2024
1 parent 77f1894 commit ed22994
Show file tree
Hide file tree
Showing 2 changed files with 40 additions and 8 deletions.
16 changes: 8 additions & 8 deletions components/board.dataview/R/dataview_ui.R
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ DataViewUI <- function(id) {
dataview_module_geneinfo_ui(
id = ns("geneinfo"),
title = tspan("Gene info"),
info.text = "Information about the selected gene and its function from public databases. For more information, follow the hyperlinks to public databases.",
info.text = tspan("Information about the selected gene and its function from public databases. For more information, follow the hyperlinks to public databases."),
caption = "Information about the selected gene and its function from public databases.",
height = c("100%", TABLE_HEIGHT_MODAL),
width = c("auto", "100%")
Expand Down Expand Up @@ -122,8 +122,8 @@ DataViewUI <- function(id) {
dataview_plot_correlation_ui(
ns("correlationplot"),
label = "d",
title = "Top correlated genes",
info.text = "Colors are from absolute expression levels of genes, where the low and high expressions range between the light and dark colors, respectively.",
title = tspan("Top correlated genes"),
info.text = tspan("Colors are from absolute expression levels of genes, where the low and high expressions range between the light and dark colors, respectively."),
caption = "Barplot of the top positively and negatively correlated genes with the selected gene. Darker color corresponds to higher expression of the gene.",
height = c("100%", TABLE_HEIGHT_MODAL),
width = c("auto", "100%")
Expand All @@ -134,7 +134,7 @@ DataViewUI <- function(id) {
width = c("auto", "100%"),
label = "e",
title = "Tissue expression (GTEX)",
info.text = "Colors correspond to 'tissue clusters' as computed by unsupervised clustering. Select the gene or feature of interest under the main Options.",
info.text = tspan("Colors correspond to 'tissue clusters' as computed by unsupervised clustering. Select the gene or feature of interest under the main Options."),
caption = paste("Top 15 expressing tissues for the selected gene in the tissue expression GTEx database. Colors represent tissue clusters. If species other than human, we use the human ortholog to query the GTEX database.")
)
)
Expand Down Expand Up @@ -183,7 +183,7 @@ DataViewUI <- function(id) {
col_widths = c(5, 7),
dataview_plot_genetypes_ui(
ns("counts_genetypes"),
title = "Dataset abundance of major gene types",
title = tspan("Dataset abundance of major gene types"),
info.text = "The samples (or cells) can be grouped/ungrouped in the grouped setting under the main Options. Genetypes can be ribosomal protein genes, kinases or RNA binding motifs, etc..",
caption = "Barplot showing the dataset relative abundance of counts in terms of major gene types.",
height = c("100%", TABLE_HEIGHT_MODAL),
Expand All @@ -209,11 +209,11 @@ DataViewUI <- function(id) {
col_widths = 12,
row_heights = list("auto", 1),
height = fullH,
bs_alert("In Counts table panel, the exact expression values across the samples can be looked up, where genes are ordered by the correlation with respect to the selected gene. Gene-wise average expression of a phenotype sample grouping is also presented in this table."),
bs_alert(tspan("In Counts table panel, the exact expression values across the samples can be looked up, where genes are ordered by the correlation with respect to the selected gene. Gene-wise average expression of a phenotype sample grouping is also presented in this table.")),
dataview_table_rawdata_ui(
ns("rawdatatable"),
title = "Gene expression table",
info.text = "The column 'rho' reports the correlation with the gene selected in 'Search gene' in the left side bar. If the data type selected is counts, the geometric mean is calculated. The SD column reports the standard deviation of expression across samples (or cells).",
title = tspan("Gene expression table"),
info.text = tspan("The column 'rho' reports the correlation with the gene selected in 'Search gene' in the left side bar. If the data type selected is counts, the geometric mean is calculated. The SD column reports the standard deviation of expression across samples (or cells)."),
caption = "The table shows the gene expression values per sample, or average expression values across the groups.",
height = c("100%", TABLE_HEIGHT_MODAL),
width = c("100%", "100%")
Expand Down
32 changes: 32 additions & 0 deletions etc/translation.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,38 @@
{
"RNA-seq": "Gene info",
"proteomics": "Proteine info"
},
{
"RNA-seq": "Top correlated genes",
"proteomics": "Top correlated proteines"
},
{
"RNA-seq": "Gene expression table",
"proteomics": "Proteine abundance table"
},
{
"RNA-seq": "Information about the selected gene and its function from public databases. For more information, follow the hyperlinks to public databases.",
"proteomics": "Information about the selected proteine and its function from public databases. For more information, follow the hyperlinks to public databases."
},
{
"RNA-seq": "Colors are from absolute expression levels of genes, where the low and high expressions range between the light and dark colors, respectively.",
"proteomics": "Colors are from absolute abundance levels of proteines, where the low and high expressions range between the light and dark colors, respectively."
},
{
"RNA-seq": "Colors correspond to 'tissue clusters' as computed by unsupervised clustering. Select the gene or feature of interest under the main Options.",
"proteomics": "Colors correspond to 'tissue clusters' as computed by unsupervised clustering. Select the protein or feature of interest under the main Options."
},
{
"RNA-seq": "Dataset abundance of major gene types",
"proteomics": "Dataset abundance of major protein types"
},
{
"RNA-seq": "In Counts table panel, the exact expression values across the samples can be looked up, where genes are ordered by the correlation with respect to the selected gene. Gene-wise average expression of a phenotype sample grouping is also presented in this table.",
"proteomics": "In Counts table panel, the exact expression values across the samples can be looked up, where proteins are ordered by the correlation with respect to the selected proteine. Proteine-wise average expression of a phenotype sample grouping is also presented in this table."
},
{
"RNA-seq": "The column 'rho' reports the correlation with the gene selected in 'Search gene' in the left side bar. If the data type selected is counts, the geometric mean is calculated. The SD column reports the standard deviation of expression across samples (or cells).",
"proteomics": "The column 'rho' reports the correlation with the protein selected in 'Search protein' in the left side bar. If the data type selected is counts, the geometric mean is calculated. The SD column reports the standard deviation of expression across samples (or cells)."
}
]
}

0 comments on commit ed22994

Please sign in to comment.