View source: R/call_model_api.R
get_valid_query | R Documentation |
Generates a sample query for prediction and validation for the v2.0 model. This function provides an example query structure that can be modified for specific needs. The sample query contains two example inputs: one for a cell line with CRISPR perturbation and another for a primary tissue sample with disease information.
get_valid_query()
A list representing a valid query structure for v2.0.
# Get a sample query
query <- get_valid_query()
# Modify the query for a different modality
query$modality <- "bulk_rna-seq"
# Adjust the number of samples to generate
query$inputs[[1]]$num_samples <- 10
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.