bc_plot_pair | R Documentation |
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 signature '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
)
barcodeObj |
A |
sample_x |
A character vector or a integer vector, specifying the sample
in |
sample_y |
A character vector or a integer vector, similar to
|
count_marks_x |
A numeric vector used to mark the cutoff point for samples in x axis |
count_marks_y |
A number vector used to mark the cutoff point for samples in the y-axis. |
highlight |
A character vector, specifying the barcodes that need to be highlighted. |
log_coord |
A logical value, if TRUE (default), the |
alpha |
A numeric between 0 and 1, specifies the transparency of the dots in the scatter plot. |
Scatter plot matrix.
data(bc_obj)
bc_names(bc_obj)
bc_plot_pair(barcodeObj=bc_obj, sample_x="test1", sample_y="test2",
count_marks_x=30, count_marks_y=20)
###
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.