pseudodynamics.functions.reader_funs.make_coord_adata¶
- pseudodynamics.functions.reader_funs.make_coord_adata(adata, cellstate_key, n_dimension, v=None)[source]¶
construct adata based on cellstate coodinates from expression matrix based adata the new adata is mainly for visualizing v
Args:¶
adata : anndata, the source anndata to extract info cellstate_key : which representation to use n_dimesion : the number of first dimeion of cellstate to use v : ndarray of shape [t, n_dim], default none