plot_scatter: plot_scatter

View source: R/plot_scatter.R

plot_scatterR Documentation

plot_scatter

Description

plot scatter plot for pairwise comparison

Usage

plot_scatter(
  expr,
  x,
  y,
  dge_genes = NULL,
  transform_method = "vst",
  filter_low_values = 1,
  size = 1.5,
  alpha = 0.7,
  title = "Pairwsie scatter point",
  xlim = NULL,
  ylim = NULL,
  ns_resampling = 1000,
  color = "grey50",
  dge_genes_color = "red2"
)

Arguments

expr

data.frame of expressing values, rownames are gene names and colnames are sample/group names, all columns are expressing values, for better transform estimation, expr should be include all sample instead of only inculde column x and y, if possible

x

x-axis name, corelated to one column name of expr

y

y-axis name, corelated to one column name of expr

dge_genes

character vector of differential changed genes, corelated to rownames of expr

transform_method

matrix transform method, one of vst, rlog or none

filter_low_values

numeric, filter rowMeans low value rows

size

point size

alpha

point transparency

title

plot title

xlim

two element numeric vector, restrict x axis, default: NULL

ylim

two element numeric vector, restrict y axis, default: NULL

ns_resampling

numeric, downsampling points

color

character vector, map point color

dge_genes_color

character vector, map dge_genes point color

Value

ggplot2 object


soulong/bioTools documentation built on Aug. 23, 2023, 1:35 a.m.