Generates pairwise scatter plot. One of the application of this function is to generates scatter plots between samples having 2 replicates.

get_pair_wise_scatter(
  dat_tbl,
  group_tbl,
  var_plot,
  var_plot_group,
  dat_id,
  view_matrix = TRUE
)

Arguments

dat_tbl

a tbl for which pairwise scatter plot to be generate.

group_tbl

a tbl containing sample groups. Refer details for more information on groups.

var_plot

a variable name, which is to be plotted.

var_plot_group

a variable name, which is to be used to group the variable var_plot

dat_id

a variable name from tbl dat_tbl storing feature ids. Typically name of first column form dat_tbl.

view_matrix

logical, default TRUE, whether to display matrix view.

Value

an object of ggplot2