View source: R/00_get_metadata.R
| create_sample_info | R Documentation | 
Search the SRA database and create a data frame of sample metadata
create_sample_info(term, retmax = 5000)
term | 
 Character with the search term, e.g. "Glycine max[ORGN] AND RNA-seq[STRA]".  | 
retmax | 
 Numeric with the maximum number of hits returned by the search.  | 
A data frame with the following columns:
BioSample accession.
Experiment accession (SRX*).
Run accession (SRR*).
Tissue from which RNA was extracted.
Pubmed ID of articles associated with the project, if any.
Bioproject accession.
Sequencing instrument
Library layout (single- or paired-end sequencing).
Library selection method.
SRA sample accession (SRS*).
SRA study accession (SRP*).
Treatment for the biosample.
Plant cultivar.
Study title, if any.
Study abstract, if any.
Date of release.
Country of origin.
term <- "SAMN02422669[BSPL]"
df <- create_sample_info(term)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.