R/AllGenerics.R
, R/method-plot_barcode.R
bc_plot_pair.Rd
Draws scatter plot for barcode read count between given pairs of samples with
a BarcodeObj
object. This function will return a scatter plot matrix
contains the scatter plots for all given sample pairs.
bc_plot_pair(
barcodeObj,
sample_x,
sample_y,
count_marks_x = NULL,
count_marks_y = NULL,
highlight = NULL,
log_coord = TRUE,
alpha = 0.7
)
# S4 method for class 'BarcodeObj'
bc_plot_pair(
barcodeObj,
sample_x,
sample_y,
count_marks_x = NULL,
count_marks_y = count_marks_x,
highlight = NULL,
log_coord = TRUE,
alpha = 0.7
)
A BarcodeObj
object.
A character vector or a integer vector, specifying the sample
in x
axis of each scatter plot. It can be the sample names in
BarcodeObj or the sample index value.
A character vector or a integer vector, similar to
sample_x
, specifying the samples used for y
axis. It can be the
sample names or the
sample index value.
A numeric vector used to mark the cutoff point for samples in x axis
A number vector used to mark the cutoff point for samples in the y-axis.
A character vector, specifying the barcodes that need to be highlighted.
A logical value, if TRUE (default), the x
and
y
coordinates
of the scatter will be transformed by log10.
A numeric between 0 and 1, specifies the transparency of the dots in the scatter plot.
Scatter plot matrix.