srt_path <- here (
data_dir,
sprintf ("best_xgboost-subregional-astrocytes_dataset-msp_%s-metric_%s-k_%s-sign_%s-amb_%s.h5Seurat" , connectivity_model, metric, k, signature, cb_fpr)
)
srt <- LoadH5Seurat (file = srt_path)
srt <-
Store_Palette_Seurat (
seurat_object = srt,
palette = c (
"#ffff00" , "#fae200" , "#f4c500" , "#eeab00" , "#e99500" ,
"#e37f00" , "#dd6b00" , "#d75b00" , "#d04c00" , "#c93e00" ,
"#c33300" , "#bc2800" , "#b42003" , "#ad1941" , "#a41281" ,
"#9c0db7" , "#9309dd" , "#8906f7" , "#7f04ff" , "#7402f6" ,
"#6701db" , "#5900b0" , "#49007e" , "#32003e" , "#000000"
),
palette_name = "expr_Colour_Palette_gnuplot_rette_gnuplot_r" )
srt <-
Store_Palette_Seurat (
seurat_object = srt,
palette = rev (brewer.pal (n = 11 , name = "Spectral" )),
palette_name = "div_Colour_Pal"
)
colours_code <- c (
"0" = "grey30" ,
"1" = "blue" ,
"2" = "skyblue" ,
"3" = "forestgreen" ,
"4" = "greenyellow" ,
"5" = "yellow" ,
"6" = "orangered" ,
"7" = "grey70"
)
colours_region <- c (
"ARC" = "grey30" ,
"LHA" = "blue" ,
"MnPO" = "skyblue" ,
"POA" = "forestgreen" ,
"PVN" = "greenyellow" ,
"SCN" = "yellow" ,
"VMH" = "orangered" ,
"VPH" = "grey70"
)
print (srt)