You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
AttributeError: module 'tangram' has no attribute 'map_cells_to_space' when trying to run a example snippet code ad_map = tg.map_cells_to_space(
adata_sc,
adata_st,
mode="constrained",
target_count=adata_st.obs.cell_count.sum(),
density_prior=np.array(adata_st.obs.cell_count) / adata_st.obs.cell_count.sum(),
num_epochs=1000,
device="cpu",
)
The text was updated successfully, but these errors were encountered:
Tangram package says ---------------------------------------------------------------------------
AttributeError Traceback (most recent call last)
in <cell line: 1>()
----> 1 ad_map = tg.map_cells_to_space(
2 adata_sc,
3 adata_st,
4 mode="constrained",
5 target_count=adata_st.obs.cell_count.sum(),
AttributeError: module 'tangram' has no attribute 'map_cells_to_space' when trying to run a example snippet code ad_map = tg.map_cells_to_space(
adata_sc,
adata_st,
mode="constrained",
target_count=adata_st.obs.cell_count.sum(),
density_prior=np.array(adata_st.obs.cell_count) / adata_st.obs.cell_count.sum(),
num_epochs=1000,
device="cpu",
)
The text was updated successfully, but these errors were encountered: