ggscatter_plotRegression: Shorcut to using ggscatter regression plots

View source: R/plotting_functions.R

ggscatter_plotRegressionR Documentation

Shorcut to using ggscatter regression plots

Description

This code creates a ggscatter regression plot given two numeric variables.

Usage

ggscatter_plotRegression(
  data_all_given,
  x.given,
  y.given,
  title_string = "",
  x_label = ""
)

Arguments

data_all_given

Dataframe containing all information for all samples.

x.given

Variable to plot in X axis. It should be numeric and included within data_all_given

y.given

Variable to plot in Y axis. It should be numeric and included within data_all_given

title_string

Title to add to the plot

x_label

Title to add to the axis


HCGB-IGTP/HCGB.IGTP.DAnalysis documentation built on April 13, 2025, 12:03 a.m.