R/copy_number.R
plot_reduced_dim_scExp_CNA.RdPlot UMAP colored by Gain or Loss of cytobands
plot_reduced_dim_scExp_CNA(scExp, cytoBand)
| scExp | A SingleCellExperiment with "gainOrLoss_cytoBand" reducedDim
slot filled. See |
|---|---|
| cytoBand | Which cytoBand to color cells by |
Plot the gains/lost of the cytoband overlayed on the epigenetic UMAP.
data("scExp") scExp = calculate_CNA(scExp, control_samples = unique(scExp$sample_id)[1], ref_genome="hg38", quantiles_to_define_gol = c(0.05,0.95))#> Warning: One of the cytoBand has no reads in control. Empty control cytobands logRatios are set to 1.