Skip to content

Commit a02849d

Browse files
authored
Merge pull request #8 from weaversd/master
v0.1.10
2 parents d961759 + f7e81cc commit a02849d

12 files changed

+28
-17
lines changed

Documentation/Release Updates.txt

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,4 +43,9 @@ Version 0.1.9
4343
2022-11-18
4444
- Refactored tabs for streamlined use. Only one sample, two sample, and multiple sample are options now.
4545
- Other options are still available in drop down menus or in the sidebar
46-
- Rewrote documentation to reflect changes
46+
- Rewrote documentation to reflect changes
47+
48+
Version 0.1.10
49+
2022-11-22
50+
- Increased all font sizes in plots
51+
- updated required packages

Documentation/annotation_1.png

-10.2 KB
Loading

Documentation/annotation_2.png

-10.7 KB
Loading

README.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,3 +38,9 @@ Alternative Method to run locally:
3838

3939

4040
Errors that occur when trying to run the app locally are almost always due to old versons of R, or the installed packages. To troubleshoot, install the most recent version of R, as well as the most recent version of all the packages referenced above.
41+
42+
PrIntMap-R has been tested and optimized on Windows and MacOS. The app also runs on linux, although it has not been optimized. Some versions of linux may open a new tab every time a plot is updated, making use impractical. If you experience this, try one of the following solutions:
43+
44+
* Run PrIntMap-R on the online version
45+
* Run PrIntMap-R on Windows or MacOS
46+
* Run PrIntMap-R using Ubuntu locally on a virtual machine

global.R

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,9 +17,9 @@ library(shinyjs)
1717

1818

1919
#reactlog
20-
library(reactlog)
21-
reactlog_enable()
22-
options(shiny.reactlog = TRUE)
20+
#library(reactlog)
21+
#reactlog_enable()
22+
#options(shiny.reactlog = TRUE)
2323

2424
#source functions and libraries
2525
source("www/libraries.R")

ui.R

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ library(shiny)
22
ui <- navbarPage(title = "PrIntMap-R",
33
tabPanel("Documentation",
44
includeMarkdown("Documentation/Documentation.md"),
5-
"Version 0.1.9"), #update version here for each push
5+
"Version 0.1.10"), #update version here for each push
66
tabPanel("Run",
77
flowLayout(
88
fileInput(inputId = "database_file", label = "Upload fasta database file",

www/Volcano_plot_functions.R

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -506,7 +506,7 @@ create_volcano_plot <- function(df, fdr = 0.05,
506506
p_val = p_val,
507507
fold_change_category = fold_change_category)) +
508508

509-
theme_bw(base_size = 10) +
509+
theme_bw(base_size = 15) +
510510
theme(panel.grid = element_blank(), legend.position = "none") +
511511
labs(x = (paste("Log2 fold-change: (", sample2, "/", sample1, ")",sep="")),
512512
y = "-Log10 (p-value)",

www/basic_functions.R

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -579,7 +579,7 @@ combine_AA_intensity <- function(AA_df, intensity_vec) {
579579
#create simple plot
580580
#returns plot object
581581
plot_intensity <- function(AA_df, protein, intensity_label = "PSM",
582-
font_size = 15,color = "grey18",
582+
font_size = 18,color = "grey18",
583583
alpha = 1, plot_type = "line") {
584584
if (plot_type == "bar") {
585585
plot <- ggplot(data = AA_df) +
@@ -664,7 +664,7 @@ add_origin_peptide_vector <- function(AA_df,
664664
#plot origin plot
665665
plot_origin <- function(AA_df, protein,
666666
intensity_label = "PSM",
667-
font_size = 15,
667+
font_size = 18,
668668
color = "grey18", alpha = 1, plot_type = "line") {
669669
if (plot_type == "bar") {
670670
plot <- ggplot(data = AA_df) +

www/mult_sample_functions.R

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
plot_difference_comb_mult <- function(AA_df, protein, intensity_label = "PSM",
2-
font_size = 15,
2+
font_size = 18,
33
alpha = 1, plot_type = "line") {
44
plot <- ggplot(data = AA_df) +
55
geom_hline(yintercept = 0, color = "red", size = 0.1, linetype = "dashed") +
@@ -15,7 +15,7 @@ plot_difference_comb_mult <- function(AA_df, protein, intensity_label = "PSM",
1515
}
1616

1717
plot_foldchange_comb_mult <- function(AA_df, protein, intensity_label = "PSM",
18-
font_size = 15,
18+
font_size = 18,
1919
alpha = 1, plot_type = "line") {
2020
plot <- ggplot(data = AA_df) +
2121
geom_hline(yintercept = 1, color = "red", size = 0.1, linetype = "dashed") +

www/stacked_plot_functions.R

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ create_stacked_line_plot_yval <- function(peptide_dataframe, protein_name, prote
5454
geom_segment(aes(y = y_val, x = start, xend = end, yend = y_val,
5555
color = intensity_value, length = length, peptide = peptide),
5656
size = 1, lineend = "round") +
57-
theme_bw(base_size = 15) +
57+
theme_bw(base_size = 18) +
5858
theme(panel.grid = element_blank(),
5959
legend.position = "right",
6060
axis.text.y = element_blank(),
@@ -73,7 +73,7 @@ create_stacked_line_plot_intensity <- function(peptide_dataframe, protein_name,
7373
geom_segment(aes(y = intensity_value, x = start, xend = end, yend = intensity_value,
7474
color = intensity_value, length = length, peptide = peptide),
7575
size = 1, lineend = "round") +
76-
theme_bw(base_size = 15) +
76+
theme_bw(base_size = 18) +
7777
theme(panel.grid = element_blank(),
7878
legend.position = "right") +
7979
labs(x = "Amino Acid Position", y = intensity_label,

0 commit comments

Comments
 (0)