More plots than required

Hi all!!

I am doing Bioinformatic analysis, and when I configurated the code to generate 5 different plots for 5 different clusters of cells I ended up with 14 other plots, and I have no idea how to relate the plots with the clusters. 

Could you help me with it? This is the code: 

# Run Association Plot for cluster 3 from the output data
runAPL(brain_microglia,
slot = "data",
top = nrow(brain_microglia),
group = which(brain_microglia$seurat_clusters == 3),
type = "ggplot")

# Run Association Plot for cluster 0 from the output data
runAPL(brain_microglia,
slot = "data",
top = nrow(brain_microglia),
group = which(brain_microglia$seurat_clusters == 0),
type = "ggplot")

# Run Association Plot for cluster 1 from the output data
runAPL(brain_microglia,
slot = "data",
top = nrow(brain_microglia),
group = which(brain_microglia$seurat_clusters == 1),
type = "ggplot")

# Run Association Plot for cluster 2 from the output data
runAPL(brain_microglia,
slot = "data",
top = nrow(brain_microglia),
group = which(brain_microglia$seurat_clusters == 2),
type = "ggplot")

# Run Association Plot for cluster 4 from the output data
runAPL(brain_microglia,
slot = "data",
top = nrow(brain_microglia),
group = which(brain_microglia$seurat_clusters == 4),
type = "ggplot")

# Run Association Plot for cluster 5 from the output data
runAPL(brain_microglia,
slot = "data",
top = nrow(brain_microglia),
group = which(brain_microglia$seurat_clusters == 5),
type = "ggplot")

 

0

Please sign in to leave a comment.