# Replacement for view\_anndata\_setup

**URL:** <https://discourse.scverse.org/t/replacement-for-view-anndata-setup/225>\
**Category:** scvi-tools\
**Created:** [November 22, 2021, 11:33am UTC](https://discourse.scverse.org/t/replacement-for-view-anndata-setup/225 "2021-11-22T11:33:49Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![lazappi](https://yyz1.discourse-cdn.com/flex035/user_avatar/discourse.scverse.org/lazappi/32/1015_2.png) [@lazappi](https://discourse.scverse.org/u/lazappi)\
**Post date:** [November 22, 2021, 11:33am UTC](https://discourse.scverse.org/t/replacement-for-view-anndata-setup/225/1 "2021-11-22T11:33:49Z")

</div>

Hi

I’ve just noticed that `view_anndata_setup()` is marked as deprecated for removal in `v0.15.0`. I’ve had a look through the docs but I couldn’t find an obvious replacement. Is there a new way to get this output or is the functionality just being removed?

Thanks

---

<div class="post-metadata">

**Author:** ![adamgayoso](https://yyz1.discourse-cdn.com/flex035/user_avatar/discourse.scverse.org/adamgayoso/32/100_2.png) [@adamgayoso](https://discourse.scverse.org/u/adamgayoso)\
**Post date:** [November 22, 2021, 5:19pm UTC](https://discourse.scverse.org/t/replacement-for-view-anndata-setup/225/2 "2021-11-22T17:19:17Z")

</div>

We are in progress with some major backend changes with anndata. Anndata registration will be closer to 1-1 with a model, so it doesn’t make sense to have a global function for this. I anticipate we will have a new method attached to each model to give a fundamentally similar view into the data registration.

---

<div class="post-metadata">

**Author:** ![lazappi](https://yyz1.discourse-cdn.com/flex035/user_avatar/discourse.scverse.org/lazappi/32/1015_2.png) [@lazappi](https://discourse.scverse.org/u/lazappi)\
**Post date:** [November 23, 2021, 7:57am UTC](https://discourse.scverse.org/t/replacement-for-view-anndata-setup/225/3 "2021-11-23T07:57:04Z")

</div>

Cool, that makes sense. I guess I’ll just keep using the existing function until the changes are done. Thanks!
