Description Usage Arguments Value Examples
This function grabs metadata from the sample, experiment, study and experiment attribute in the SRA metadata database.
1 | search_field(runacc, field, type, db_conn)
|
runacc |
A vector with run accessions |
field |
A string specifying the field of interest (e.g. "sex", "cell_line", "tissue") |
type |
Type of metadata which is associated with runs: 'sample', 'experiment', 'study' or 'run' |
db_conn |
Connection to the sqlite database |
resfield
A dataframe with run_accessions and values associated with the field of interest.
If field does not exist, NAs are returned
1 2 3 4 | search_field(runacc = c("DRR023427", "SRR946066", "ERR204978"),
field = "disease",
type = "sample",
db_con = conn)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.