-
Notifications
You must be signed in to change notification settings - Fork 12
/
Copy pathXenaDownload.Rd
50 lines (44 loc) · 1.31 KB
/
XenaDownload.Rd
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/XenaDownload.R
\name{XenaDownload}
\alias{XenaDownload}
\title{Download Datasets from UCSC Xena Hubs}
\usage{
XenaDownload(
xquery,
destdir = tempdir(),
download_probeMap = FALSE,
trans_slash = FALSE,
force = FALSE,
max_try = 3L,
...
)
}
\arguments{
\item{xquery}{a tibble object generated by \link{XenaQuery} function.}
\item{destdir}{specify a location to store download data. Default is system temp directory.}
\item{download_probeMap}{if \code{TRUE}, also download ProbeMap data, which used for id mapping.}
\item{trans_slash}{logical, default is \code{FALSE}. If \code{TRUE}, transform slash '/' in dataset id
to '__'. This option is for backwards compatibility.}
\item{force}{logical. if \code{TRUE}, force to download data no matter whether files exist.
Default is \code{FALSE}.}
\item{max_try}{time limit to try downloading the data.}
\item{...}{other argument to \code{download.file} function}
}
\value{
a \code{tibble}
}
\description{
Avaliable datasets list: \url{https://xenabrowser.net/datapages/}
}
\examples{
\dontrun{
xe = XenaGenerate(subset = XenaHostNames == "tcgaHub")
hosts(xe)
xe_query = XenaQuery(xe)
xe_download = XenaDownload(xe_query)
}
}
\author{
Shixiang Wang \href{mailto:w_shixiang@163.com}{w_shixiang@163.com}
}