cells_suggest | R Documentation |
This function communicates with the 'Genular' API to suggest cell matches based on an array of query values. It sends a POST request with the query values and retrieves suggested cell matches, including details and scores.
cells_suggest(queryValues, responseType = "json", debug = 0, options = list())
queryValues |
A character vector of cell names or identifiers to find matches for. |
responseType |
A character string indicating the type of response to expect ('json' or 'csv'). |
debug |
An integer value indicating whether to enable debug mode (1) or not (0). |
options |
A list that specifies the API endpoint, api_key, timeout duration, and user agent string, with default values preset for the 'Genular' API cell suggestion endpoint. |
A list containing suggested cell matches, each with associated details like keys, values, search scores, and expression marker scores.
queryValues <- c("endothelial cell", "T cell")
cell_suggest_results <- cells_suggest(queryValues)
print(cell_suggest_results)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.