Visualize frequency distribution of INCOMMON classes.
Source:R/plot_class_fraction.R
plot_class_fraction.Rd
Visualize frequency distribution of INCOMMON classes.
Examples
# First load example classified data
data(MSK_classified)
# Plot class fraction for a specific gene and tumour type
plot_class_fraction(x = MSK_classified, tumor_type = 'LUAD', gene = 'KRAS')
#> ℹ The frequency of states AM, CNLOH, HMD, LOH, and Tier-2 are 0.26, 0.18, 0.51, 0.01, and 0.04