Package 'bedrockbio'

Title: Open-Access Computational Biology Datasets
Description: Efficiently access a curated library of open-access computational biology datasets. Datasets support predicate pushdown and projection to the cloud storage backend, enabling quick, iterative access to otherwise massive, unwieldy datasets.
Authors: Liam Abbott [aut, cre, cph]
Maintainer: Liam Abbott <[email protected]>
License: GPL (>= 3)
Version: 1.1.0
Built: 2026-02-06 22:22:51 UTC
Source: https://github.com/bedrock-bio/bedrock-bio-client

Help Index


List available datasets in the Bedrock Bio library

Description

List available datasets in the Bedrock Bio library

Usage

list_datasets()

Value

A character vector of dataset names

Examples

## Not run: 
library(bedrockbio)
list_datasets()

## End(Not run)

Lazily read a dataset from the Bedrock Bio library

Description

Lazily read a dataset from the Bedrock Bio library

Usage

load_dataset(name)

Arguments

name

Dataset name (e.g., "ukb_ppp/pqtls")

Value

A lazy tibble

Examples

## Not run: 
library(bedrockbio)
library(dplyr)

df <- load_dataset("ukb_ppp/pqtls") |>
  filter(
    ancestry == "EUR",
    protein == "A0FGR8"
  ) |>
  select(
    chromosome,
    position,
    effect_allele,
    other_allele,
    beta,
    neg_log_10_p_value
  ) |>
  collect()

## End(Not run)