A connected point plot of read fraction vs. rank for the most frequent alpha/beta chains
plot_pairs_with_eachother.RdThis function creates a point plot of read fraction vs. rank for the N most frequent alpha (left, mirrored) and beta (right) chains with lines between alpha and beta chains indicating a pair and a cross indicating an unpaired single-chain.
Usage
plot_pairs_with_eachother(
data,
sample,
n_max = 100,
show_num_partners = FALSE,
color_scheme = NULL
)Examples
load_example_data(dataset = "SJTRC_longitudinal")
#> Example data already loaded into object: 'SJTRC_longitudinal'
plot_pairs_with_eachother(SJTRC_longitudinal, sample = 1, n_max = 100)
plot_pairs_with_eachother(SJTRC_longitudinal, sample = 1, n_max = 100, show_num_partners = TRUE)