Skip to contents

This function plots the clonal proportion per sample.

Usage

plot_clonal_prop_per_sample(data, attr_col)

Arguments

data

A data frame of clonal proportion per sample.

attr_col

Character. Attribute column name.

Value

A ggplot2 plot of clonal proportion per sample.

Examples

if (FALSE) { # \dontrun{
proj <- reTCR::get_study(id="PRJNA473147", attr_col="cmv_status")
clonal_prop <- proj@clonality@clonal_prop
reTCR::plot_clonal_prop_per_sample(clonal_prop, "cmv_status")
} # }