get.sraBio: get.sraBio

View source: R/get.sraProj.R View source: R/get.sraBio.R

get.sraBioR Documentation

get.sraBio

Description

Retrieve the "BioSample", "BioProject", or "Both" field for a set of input SRA 'run_id'

Retrieve the "BioProject" field for a set of SRA 'run_id' and return all SRA run_id for each unique BioProject <UNDER DEVELOPMENT>

Usage

get.sraBio(run_ids, con, ordinal = FALSE)

get.sraBio(run_ids, con, ordinal = FALSE)

Arguments

run_ids

character, SRA 'run_id'

con

pq-connection, use SerratusConnect()

ordinal

boolean, return 'run_ids' ordered vector [FALSE]

biodb

character, one of "both", "BioProject", or ["BioSample"]

Value

data.frame, run_id, biosample character vectors

data.frame, run_id, biosample character vectors

Examples


# SRA Library of interest
con <- SerratusConnect()
library.bioSample   <- get.sraBio( 'SRR9968562' , con)


# SRA Library of interest
con <- SerratusConnect()
library.bioProject   <- get.sraProj( 'SRR9968562' , con)


ababaian/palmid documentation built on July 1, 2023, 1:09 a.m.