pkgdown/extra.css Skip to contents

[Experimental]

plot_ranks() returns a line plot of TCR rank vs. read fraction for a given sample.

Usage

plot_ranks(
  data,
  chain = c("beta", "alpha"),
  column = "readFraction",
  color_scheme = NULL
)

rank_plot(...)

Arguments

data

a TIRTLseqDataSet object

chain

the chain to plot, "alpha" or "beta" (default is "beta")

column

the variable to plot (default is "readFraction")

color_scheme

(optional) the color scheme for the plot

Value

a ggplot object with the rank plot

Examples

load_example_data(dataset = "SJTRC_longitudinal")
#> Example data already loaded into object: 'SJTRC_longitudinal'

plot_ranks(SJTRC_longitudinal, chain = "beta")