Skip to main content

Documentation Index

Fetch the complete documentation index at: https://docs.synthesize.bio/llms.txt

Use this file to discover all available pages before exploring further.

rsynthbio is an R package that provides a convenient interface to the Synthesize Bio API. It lets you generate realistic gene expression data for specified biological conditions, work with reference samples, and predict metadata from observed expression, all from R. If you’d prefer 1-click dataset generation and analysis, try the web platform.

Installation

Install from CRAN, GitHub, or a local source build.

Getting started

Authenticate, list models, and make your first prediction.

Baseline models

Generate synthetic expression from metadata alone.

Reference conditioning

Anchor generation to a real reference sample.

Metadata prediction

Infer biological metadata from observed expression.

Function reference

Generated from the package help pages in this repo.

Quickstart

library(rsynthbio)

set_synthesize_token(use_keyring = TRUE)

query <- get_example_query(model_id = "gem-1-bulk")$example_query
result <- predict_query(query, model_id = "gem-1-bulk")

metadata <- result$metadata
expression <- result$expression

Source and support