sra_download: Download RNA-seq samples from the NCBI.

View source: R/sra_download.R

sra_downloadR Documentation

Download RNA-seq samples from the NCBI.

Description

Download RNA-seq samples from the NCBI using SRA Toolkit and Entrez Direct based on the accession code.

Usage

sra_download(accession, dir = getwd())

Arguments

accession

the bioproject accession code for the RNA-seq samples deposited in the NCBI.

dir

the working directory. Default is the current working directory.

Value

the status of the download (0 for success, 1 for error).

Examples

sra_download(accession = 'SRR11427582')


sunshanwen/BP4RNAseq documentation built on March 28, 2022, 5:35 p.m.