|
a |
|
b/man/downloadAndProcessGEO.Rd |
|
|
1 |
% Generated by roxygen2 (4.1.1): do not edit by hand |
|
|
2 |
% Please edit documentation in R/downloadAndProcessGEO.R |
|
|
3 |
\name{downloadAndProcessGEO} |
|
|
4 |
\alias{downloadAndProcessGEO} |
|
|
5 |
\title{Download GEO dataset and preprocess it} |
|
|
6 |
\usage{ |
|
|
7 |
downloadAndProcessGEO(geo_nbr, destdir = getwd(), ..., clean = FALSE, |
|
|
8 |
verbose = TRUE) |
|
|
9 |
} |
|
|
10 |
\arguments{ |
|
|
11 |
\item{geo_nbr}{The GEO ascession number.} |
|
|
12 |
|
|
|
13 |
\item{destdir}{The destination dir of the downloaded files.} |
|
|
14 |
|
|
|
15 |
\item{...}{Arguments passed to \code{\link{preprocessCELFiles}}} |
|
|
16 |
|
|
|
17 |
\item{clean}{Should the strictly unnessesary files be deleted?} |
|
|
18 |
|
|
|
19 |
\item{verbose}{Signal the process.} |
|
|
20 |
} |
|
|
21 |
\value{ |
|
|
22 |
Creates a folder with the downloaded and processed files. |
|
|
23 |
The processed files are saved as an \code{.Rds} object named |
|
|
24 |
after the used parameters. |
|
|
25 |
Invisibly returns the saved object. |
|
|
26 |
} |
|
|
27 |
\description{ |
|
|
28 |
Functionality for automatically downloading, RMA preprocessing the array |
|
|
29 |
data and formatting the phenotype data, and saving the results in a |
|
|
30 |
\code{.Rds} file. |
|
|
31 |
} |
|
|
32 |
\note{ |
|
|
33 |
The function will overwrite existing files in the \code{destdir}. |
|
|
34 |
|
|
|
35 |
Arguments after \code{\dots} must be named. |
|
|
36 |
} |
|
|
37 |
\examples{ |
|
|
38 |
\dontrun{ |
|
|
39 |
print(DLBCL_overview) |
|
|
40 |
geo_nbr <- DLBCL_overview[6,1] |
|
|
41 |
res <- downloadAndProcessGEO(geo_nbr = geo_nbr, cdf = "brainarray", |
|
|
42 |
target = "ENSG", clean = FALSE) |
|
|
43 |
head(exprs(res$es$Batch1)) |
|
|
44 |
} |
|
|
45 |
} |
|
|
46 |
\author{ |
|
|
47 |
Anders Ellern Bilgrau, |
|
|
48 |
Steffen Falgreen Larsen |
|
|
49 |
} |
|
|
50 |
|