> For the complete documentation index, see [llms.txt](https://michael-vinyard.gitbook.io/anndataquery/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://michael-vinyard.gitbook.io/anndataquery/anndataquery.md).

# AnnDataQuery

Fetch data matrices from AnnData and format to numpy or torch, on any device.

## Welcome to the AnnDataQuery Documentation

Thank you for visiting the <mark style="color:blue;">**`adata-query`**</mark> documentation website. There are three primary pages beyond this home page: the [Quick Start Guide](/anndataquery/quick-start.md), an [Installation Guide](/anndataquery/installation.md), and the complete [API Reference](/anndataquery/reference/api-reference.md), all linked below and to the left. If you find this library useful for your own research, please consider [starring the repo on GitHub](https://github.com/mvinyard/AnnDataQuery/tree/main) to stay up to date with future developments or reach out to connect.

<table data-view="cards"><thead><tr><th></th><th></th><th data-hidden data-card-target data-type="content-ref"></th><th data-hidden data-card-cover data-type="files"></th></tr></thead><tbody><tr><td><h3>Quick Start</h3></td><td>Jump into the quick-start guide.</td><td><a href="/anndataquery/quick-start.md">Quick Start</a></td><td></td></tr><tr><td><h3>Installation</h3></td><td>For more details on installation options</td><td><a href="/anndataquery/installation.md">Installation</a></td><td></td></tr><tr><td><h3>API Reference</h3></td><td>Read the full documentation for each function</td><td><a href="/anndataquery/reference/api-reference.md">API Reference</a></td><td></td></tr><tr><td><h3>Questions?</h3></td><td>If you have questions, please reach out to Michael Vinyard through <a href="https://github.com/mvinyard"><strong>GitHub</strong></a>, <a href="https://www.linkedin.com/in/michaelvinyard/"><strong>LinkedIn</strong></a>, or <a href="mailto:mvinyard@gmail.com"><mark style="color:blue;"><strong>Email</strong></mark></a>.</td><td></td><td></td></tr><tr><td><h3>Issue?</h3></td><td>Problem? Idea for improvements? Open an <a href="https://github.com/mvinyard/AnnDataQuery/issues/new"><strong>issue</strong></a> on GitHub!</td><td><a href="https://github.com/mvinyard/AnnDataQuery/issues/new">https://github.com/mvinyard/AnnDataQuery/issues/new</a></td><td></td></tr><tr><td><h3>GitHub </h3></td><td>Check out the GitHub to find the most recent developments</td><td><a href="https://github.com/mvinyard/AnnDataQuery">https://github.com/mvinyard/AnnDataQuery</a></td><td></td></tr></tbody></table>


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://michael-vinyard.gitbook.io/anndataquery/anndataquery.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `build a script that syncs our docs to a CMS` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
