get_valid_query {rsynthbio} | R Documentation |
Get Valid Query Example
Description
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.
Usage
get_valid_query()
Value
A list representing a valid query structure for v2.0.
Examples
# 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
[Package rsynthbio version 2.0.0 Index]