get.sraOrgn: get.sraOrgn

Description Usage Arguments Value Examples

View source: R/get.sraOrgn.R

Description

Retrieve the "scientific_name" for a set of SRA 'run_id'

Usage

1
get.sraOrgn(run_ids, con, ordinal = FALSE, as.df = FALSE)

Arguments

run_ids

character, SRA 'run_id'

con

pq-connection, use SerratusConnect()

ordinal

boolean, return 'run_ids' ordered vector [FALSE]

as.df

boolean, return run_id, date data.frame [FALSE]

Value

character, string vector

Examples

1
2
3
4
5
6
7
8
9
 # Retrive a single "scientific_name" 
con <- SerratusConnect()
palm.orgn   <- get.sraOrgn('SRR9968562', con)

# Retrieve an ordered vector of "scientific_name"
data( waxsys.palm.sra)
waxsys_runs <- waxsys.palm.sra$run_id

waxsys_orgn <- get.sraOrgn(waxsys_runs, con, ordinal = TRUE)

palmid documentation built on Oct. 15, 2021, 9:06 a.m.