DownloadBam | R Documentation |
Download bam.
DownloadBam(
gsm.df,
bam.type = c("10x", "other"),
prefetch.path = NULL,
samdump.path = NULL,
out.folder = NULL,
prefetch.paras = "-X 100G",
samdump.paras = ""
)
gsm.df |
Dataframe contains GSM and Run numbers, obtained from |
bam.type |
The source of bam files to download, choose from 10x (e.g. CellRanger) or other. Default: 10x. |
prefetch.path |
Path to prefetch. Default: NULL (conduct automatic detection). |
samdump.path |
Path to sam-dump, used when |
out.folder |
Output folder. Default: NULL (current working directory). |
prefetch.paras |
Parameters for |
samdump.paras |
Parameters for |
Dataframe contains failed runs or NULL.
## Not run:
# need users to provide prefetch.path
GSE138266.runs <- ExtractRun(acce = "GSE138266", platform = "GPL18573")
GSE138266.down <- DownloadBam(
gsm.df = GSE138266.runs, bam.type = "10x",
prefetch.path = "/path/to/prefetch",
out.folder = "/path/to/output"
)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.