Description Usage Arguments Value Examples
View source: R/plot_scatterreplicates.R
plot_scatterreplicates
generates a scatterplot for two rgiven inputs
(repx &repy) and highligths the intensities of viral proteins.
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"
)
|
aggregated_peptides |
Dataframe
output from |
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 |
A scatter plot
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")
}
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.