sample_sample_plot: Create a sample-sample scatter plot.

Description Usage Arguments Details Value

View source: R/sample_sample_plot.R

Description

This is a plot type that does a scatter plot of two samples, that are expected to be highly similar. Fold-change lines are included, as are basic statistics on the degree of differences between the two samples and degree of similarity (correlation).

Usage

1
2
3
4
5
6
7
8
sample_sample_plot(
  x,
  y,
  fc = 2,
  main = "Sample-Sample comparisons",
  xlab = "Sample 1",
  ylab = "Sample 2"
)

Arguments

x

Sample 1

y

Sample 2

fc

Fold change lines

main

Main title

xlab

X label

ylab

Y label

Details

The assumption is that the plots are fairly similar, so there should be a place to include text for metrics in the lower right quadrant of the graph.

Value

ggplot of scatter plot.


steveneschrich/CLIApet documentation built on March 2, 2021, 12:02 a.m.