scatter_plot {barcodetrackR} | R Documentation

## Scatter Plot

### Description

Plots a scatter plot of two samples in the Summarized Experiment object

### Usage

    scatter_plot(
      your_SE,
      assay = "proportions",
      plot_labels = colnames(your_SE),
      method_corr = "pearson",
      display_corr = TRUE,
      point_size = 0.5,
      your_title = "",
      text_size = 12
    )

### Arguments

`your_SE` | A Summarized Experiment object of two samples.
`assay` | The choice of assay to plot on the scatter plot. Set to "proportions" by default.
`plot_labels` | The labels for the X and Y axis of the plot
`method_corr` | Character. One of "pearson", "spearman", or "kendall". Can also use "manhattan" to compute manhattan distance instead.
`display_corr` | Logical. Whether to display the computer correlation or not.
`point_size` | Numeric. The size of the points being plotted.
`your_title` | Logical. The title for the plot.
`text_size` | Numeric. Size of text in plot.

### Value

Displays a scatter plot of the specified assay for the specified samples in your_SE with correlation value optionally displayed.

### Examples

    data(wu_subset)
    scatter_plot(your_SE = wu_subset[, c(4, 8)])
    # "

[Package barcodetrackR version 1.2.0 Index]