Draw scatter plot with R-squared value

LVScatter(
  dat,
  lv,
  y.var = "Neutrophil.Count",
  ylab = "",
  title = NULL,
  subtitle = NULL
)

Arguments

dat

A data frame containing the summary of scores and metadata.

lv

A RAV name for x-axis.

y.var

A name of y-axis.

ylab

A label for y-axis.

title

The text for the title.

subtitle

The text for the subtitle for the plot which will be displayed below the title.

Value

A scatter plot.

Note

Modified from https://github.com/greenelab/multi-plier/blob/master/07-sle_cell_type_recount2_model.Rmd