Skip to content

Commit 3257a03

Browse files
committed
Merge branch 'Usability-updates'
1 parent 9488679 commit 3257a03

8 files changed

Lines changed: 35 additions & 16 deletions

File tree

DESCRIPTION

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,9 @@
11
Package: pod
2-
Version: 0.99.04
2+
Version: 0.99.05
33
Date: 2013-10-10
44
Title: Tools for patient-specific expression outlier detection
55
Authors@R: c(person("Daniel", "Bottomly", role=c("aut", "cre"), email="bottomly@ohsu.edu"),person("Heather", "Turner", role="ctb"), person("Peter", "Ryabinin", role="ctb"), person("Beth", "Wilmot", role="aut"), person("Shannon", "McWeeney", role="aut"))
6-
Imports: Biobase
7-
Depends: R (>= 3.1.0),methods
6+
Depends: R (>= 3.1.0),methods, Biobase
87
Description: An implementation of outlier detection methods discussed in the paper 'Comparison of methods to identify aberrant expression patterns in individual patients: augmenting our toolkit for precision medicine'. Additional related approaches may be added in the future.
98
License: GPL-3
109
Collate:methods.R

NAMESPACE

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
11
import(methods)
2-
importClassesFrom(Biobase, ExpressionSet)
3-
importFrom(Biobase, ExpressionSet, exprs)
4-
2+
import(Biobase)
53
export(outlyingDegree,zScore)

README.md

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,28 @@ The `pod` package
33

44
The `pod` package contains implementations of the methods compared in 'Comparison of methods to identify aberrant expression patterns in individual patients: augmenting our toolkit for precision medicine'. Currently, this is a bare-bones package however, I will be updating it periodically with documentation, new methods etc.
55

6+
How to install
7+
--------
8+
9+
Using a recent version of R (version >= 3.1) use the following commands:
10+
11+
source("http://bioconductor.org/biocLite.R")
12+
13+
biocLite(c("Biobase", "devtools"))
14+
15+
library(devtools)
16+
17+
install_github(rep="dbottomly/pod", ref="master")
18+
19+
20+
Basic usage
21+
--------
22+
23+
See the vignette for typical usage:
24+
25+
library(pod)
26+
vignette("pod")
27+
628
How to contribute
729
---------
830

data/simEset.R

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
set.seed(123)
2+
require(Biobase)
3+
4+
simEset <- ExpressionSet(assayData=matrix(rnorm(10000, mean=6, sd=2), nrow=1000, ncol=10, dimnames=list(paste("gene", 1:1000,sep="_"),paste("sample", 1:10 ,sep="_"))))

data/simExprs.R

Lines changed: 0 additions & 4 deletions
This file was deleted.

man/.Rapp.history

Whitespace-only changes.

man/methods.Rd

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,12 +31,12 @@ Daniel Bottomly
3131

3232
\examples{
3333
data(simEset)
34-
out.deg.eset <- outlyingDegree(cur.eset, k=1)
34+
out.deg.eset <- outlyingDegree(simEset, k=1)
3535
cur.mat <- exprs(simEset)
3636
out.deg.mat <- outlyingDegree(cur.mat, k=1)
3737
all.equal(out.deg.eset, out.deg.mat)
3838

39-
zscore.eset <- zScore(cur.eset)
39+
zscore.eset <- zScore(simEset)
4040
zscore.mat <- zScore(cur.mat)
4141

4242
all.equal(zscore.eset, zscore.mat)

vignettes/pod.Rnw

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -31,15 +31,15 @@ Using our \texttt{simExprst} ExpressionSet object, we can now compute our outlie
3131

3232
<<>>=
3333
34-
norm.out.deg <- outlyingDegree(simEset), k=5)
34+
norm.out.deg <- outlyingDegree(simEset, k=5)
3535
3636
norm.out.deg[1:5,1:5]
3737
38-
norm.zscore <- zScore(simEset), robust=FALSE)
38+
norm.zscore <- zScore(simEset, robust=FALSE)
3939
4040
norm.zscore[1:5,1:5]
4141
42-
norm.rscore <- zScore(simEset), robust=TRUE)
42+
norm.rscore <- zScore(simEset, robust=TRUE)
4343
4444
norm.rscore[1:5,1:5]
4545
@@ -49,7 +49,7 @@ Similarly, we can compute these values using a plain matrix.
4949

5050
<<>>=
5151
52-
norm.exprs <- exprs(simEset))
52+
norm.exprs <- exprs(simEset)
5353
5454
norm.out.deg.mat <- outlyingDegree(norm.exprs, k=5)
5555

0 commit comments

Comments
 (0)