plot_scatterreplicates: Intensity patterns across replicate (proteins of interest get...

Description Usage Arguments Value Examples

View source: R/plot_scatterreplicates.R

Description

plot_scatterreplicates generates a scatterplot for two rgiven inputs (repx &repy) and highligths the intensities of viral proteins.

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
plot_scatterreplicates(
  aggregated_peptides,
  protein_1,
  protein_2,
  xlimits,
  ylimits,
  col1 = "red",
  col2 = "blue",
  repx = "hour18_1",
  repy = "hour18_2"
)

Arguments

aggregated_peptides

Dataframe output from agregate_singlepeptides

protein_1

Character, Name of selected protein (1) to highlight on the plot

protein_2

Character, Name of selected protein (2) to highlight on the plot

xlimits

Integer, Sets the x-axis limits on plot.

ylimits

Integer, Sets the y-axis limits on plot.

col1

Character, Sets the color to highlight protein_1 on the plot

col2

Character, Sets the color to highlight protein_2 on the plot

repx

Character, Sets the replicate to represent on the x-axis

repy

Character, Sets the replicate to represent on the y-axis

Value

A scatter plot

Examples

1
2
3
4
5
if(interactive()){
plot_scatterreplicates(aggregatedWCL_batch,
xlimits=c(20,34), ylimits=c(20,34),
repx = "hour18_1",repy = "hour18_2")
}

demar01/RIC documentation built on Feb. 10, 2021, 5:25 p.m.