plot_relative_log_expression: Plot relative log expression.

View source: R/relative-log-expression.R

plot_relative_log_expressionR Documentation

Plot relative log expression.

Description

Plot relative log expression.

Usage

plot_relative_log_expression(
  x,
  pheno,
  batch_name,
  batch_label,
  plot_title,
  plot_subtitle,
  seed = 123,
  n_samples = 100
)

Arguments

x

A matrix of RLE (RLE).

batch_name

column name of batch in the targets attribute of YamatClassifierTrainer object.

batch_label

batch label in the ggplot (color).

plot_title

plot title.

plot_subtitle

plot subtitle

seed

seed for sampling.

n_samples

if there are many samples, down-sample it to a number while keep the proportion of each group.

top_n

an integer of the most variable N loci for relative log expression (RLE) analysis.

Value

a ggplot object.


markgene/yamatClassifier documentation built on Oct. 14, 2024, 2:36 a.m.