今日借花献佛。
##conda create -n SOAPy_st python=3.9
##conda activate SOAPy_st
##pip install SOAPy_st
import os
os.environ['R_HOME'] = './lib/R'
import SOAPy_st as sp
import scanpy as sc
adata = sp.pp.st_Seurat2Anndata(
'/csb2/project/SpatialPackage_whq/Seurat2Scanpy/KIRC_5.rds',
exp_mat_slot=['RNA','data'],
res_type='lowres'
)
sc.pl.spatial(
adata,
color=['KRT8']
)