CellScopes.jl
CellScopes.jl copied to clipboard
savings images from the julia command line? how to reload xenium CellScopes object?
Two questions:
- Is there anyway to save CellScopes figures from the julia command line as a pdf or svg for instance?
- How do I properly reload a CellScopes jld2 object?
"1. Is there anyway to save CellScopes figures from the julia command line as a pdf or svg for instance?" yes, try this:
]add CairoMakie
import CairoMakie as MK
fig = cs.sp_dim_plot(test, "cluster";
do_label = false, marker_size = 5,
width=2500, height=2000, do_legend=false
)
MK.save("test.svg", fig)
"2. How do I properly reload a CellScopes jld2 object?" you can load the jld2 file like this:
test=cs.load(filename="test.jld2")