<jupyter_start><jupyter_text>Panel 2C<jupyter_code>opref = 'figures/'
seurat_obj = get_sr_sc_data()
colors = get_short_clust_colors()

p = DimPlot(
  object = seurat_obj,pt.size = 2.2,
  group.by = 'final_clusters_ordered',
  label = F,label.size = 6,
  repel = TRUE)  + NoLegend() + NoAxes()+ scale_color_manual(values = colors)

pdf(file = paste0(opref, "shortreads_464cells_UMAP_dark2.pdf"), width = 5.5, height = 5)
dev.off()
p
colors = get_sample_colors()
p = ggplot(<EMAIL>, aes(x=final_clusters_ordered, fill=SampleType)) + 
    geom_bar(position = "fill")  + 
    scale_fill_manual(values=colors) + 
    coord_flip()
fname = 'figures/shortreads_464cells_barplot.pdf'
pdf(file = fname,
    width = 3.2,
    height = 4.5)
dev.off()

p<jupyter_output><empty_output><jupyter_text>Panel 2D cluster proportions<jupyter_code>opref = 'figures/'
seurat_obj = get_lr_sc_data()
colors = get_sample_colors()
p = plot_clust_prop(seurat_obj, 'sample', colors, opref)
p<jupyter_output><empty_output><jupyter_text>Panel 2E cluster proportions<jupyter_code>opref = 'figures/'
seurat_obj = get_lr_sc_data()
colors = get_long_clust_colors()
p = plot_short_clust_prop(seurat_obj, 'leiden', colors, opref)
p<jupyter_output><empty_output>
{'fraction_non_alphanumeric': 0.13316993464052287, 'fraction_numerical': 0.01715686274509804, 'mean_word_length': 6.424242424242424, 'pattern_counts': {'":': 0, '<': 14, '<?xml version=': 0, '>': 14, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'chain_length': '3', 'dir': 'jupyter-structured-clean-dedup', 'id': '351935', 'license': 'MIT', 'n_tokens_mistral': 530, 'n_tokens_neox': 497, 'n_words': 80, 'path': 'figure_2/figure_2_R.ipynb', 'repo_name': 'fairliereese/2021_c2c12', 'size': '1237'}