Skip to content

Commit

Permalink
version 2.1.1
Browse files Browse the repository at this point in the history
  • Loading branch information
tpq authored and cran-robot committed Dec 21, 2016
1 parent a11cc8b commit 939bae3
Show file tree
Hide file tree
Showing 69 changed files with 2,719 additions and 1,441 deletions.
37 changes: 21 additions & 16 deletions DESCRIPTION
Original file line number Diff line number Diff line change
@@ -1,36 +1,41 @@
Package: propr
Title: Calculating Proportionality Between Vectors of Compositional
Data
Version: 2.0.4
Version: 2.1.1
URL: http://github.com/tpq/propr
BugReports: http://github.com/tpq/propr/issues
Authors@R: c(
person("Thomas", "Quinn", email = "contacttomquinn@gmail.com", role = c("aut", "cre")),
person("David", "Lovell", email = "david.lovell@qut.edu.au", role = "aut")
person("David", "Lovell", email = "david.lovell@qut.edu.au", role = "aut"),
person("Anders", "Bilgrau", email = "anders.ellern.bilgrau@gmail.com", role = "ctb"),
person("Ionas", "Erb", email = "ionas.erb@crg.eu", role = "ctb")
)
Description: The bioinformatic evaluation of gene co-expression often begins with
correlation-based analyses. However, this approach lacks statistical validity
when applied to relative data, including those biological count data produced by
microarray assays or high-throughput RNA-sequencing. Two metrics of proportionality,
phi [Lovell et al (2015) <DOI:10.1371/journal.pcbi.1004075>] and rho [Erb and
Notredame (2016) <DOI:10.1007/s12064-015-0220-8>], both derived from compositional
data analysis, a branch of math dealing specifically with relative data,
represent novel alternatives to correlation. This package introduces a programmatic
framework for the calculation of feature dependence through proportionality, as
discussed in the cited publications.
when applied to relative count data. This includes, for example, biological data
produced by high-throughput RNA-sequencing, chromatin immunoprecipitation (ChIP),
ChIP-sequencing, Methyl-Capture sequencing, and other techniques. Two metrics of
proportionality, phi [Lovell et al (2015) <DOI:10.1371/journal.pcbi.1004075>]
and rho [Erb and Notredame (2016) <DOI:10.1007/s12064-015-0220-8>], both derived
from compositional data analysis, a branch of math dealing specifically with
relative data, represent novel alternatives to correlation. This package
introduces a programmatic framework for calculating feature dependence through
proportionality, as discussed in the cited publications.
License: GPL-2
LazyData: true
VignetteBuilder: knitr
RoxygenNote: 5.0.1
Depends: R (>= 3.2.2)
Imports: methods, Rcpp, stats
Suggests: compositions, dendextend, fastcluster, ggplot2, ggthemes,
knitr, rmarkdown, testthat
Imports: fastcluster, ggplot2, methods, Rcpp, stats, utils
Suggests: cccrm, compositions, data.table, grid, ggdendro, igraph,
knitr, plotly, reshape2, rmarkdown, testthat
LinkingTo: Rcpp
NeedsCompilation: yes
Packaged: 2016-10-31 02:33:12 UTC; thom
Packaged: 2016-12-21 23:36:24 UTC; thom
Author: Thomas Quinn [aut, cre],
David Lovell [aut]
David Lovell [aut],
Anders Bilgrau [ctb],
Ionas Erb [ctb]
Maintainer: Thomas Quinn <contacttomquinn@gmail.com>
Repository: CRAN
Date/Publication: 2016-10-31 07:57:10
Date/Publication: 2016-12-22 00:50:40
98 changes: 53 additions & 45 deletions MD5
Original file line number Diff line number Diff line change
@@ -1,57 +1,65 @@
dd982525fb104b6a9cd05f7df2645519 *DESCRIPTION
e812610c4a7d9dad42c1cffb6ea44962 *NAMESPACE
9400d978ed79209096b3a8d1e4b45a57 *NEWS.md
3397e6b31c85b54a83bdb5472729c1d7 *R/RcppExports.R
7b586f23e17fda3a57d24df7a9127b6e *R/classes.R
9edd9c2a76f3d62afb4c952bc696893d *R/deprecated.R
5be0308f4b7b8f061dabdb5cf67490de *R/methods.R
6b77cbe6af95ed157077ac15b1c295d8 *R/perb.R
67a6e4c984136b923924547f05ae2093 *R/phit.R
a116383651fa2af167feb0a2f9110254 *R/plot.R
d7e7607ee0398e0d2ab5624e99bbafef *R/simplify.R
59bedf1bc9c0cf0268650e24c3a940a7 *README.md
89defd3aafdd641b1bfd790952db9023 *build/vignette.rds
db2b98625bcf3c50354d325ddbe38cc3 *DESCRIPTION
93aec3d8abe8e6921fad5388851871c7 *NAMESPACE
88834996712dbdf6e460d7043e6b33d6 *NEWS.md
76fb67aea64ef74c7d48a421b05f8588 *R/RcppExports.R
3ff2e9fcd3d25cdee3667a1fdcae4ed1 *R/deprecated.R
7e2c80615265a05ae535022fd0941fc6 *R/global.R
ea1debc75e0c6615bd000804b476e584 *R/lrmodel.R
82c1829cdee4b48d19578b7b26df5fad *R/methods.R
0b4893e99cb5bc7cfd80236b7a2d9337 *R/prop2prob.R
01eec63412b9a4847ec4ef2ddad0593d *R/proportionality.R
24fba5f3e9c48ffae5b6f9ce6af5ea64 *R/visualize.R
d53106c82982b7ec1bd096e38396bca5 *README.md
bede9b648cc263ed084dec9c4c66aaf6 *build/vignette.rds
1f1654ae67ec05f1b6e3f157b7ffa8fc *data/caneToad.counts.rda
e802143702b261475b19f05158e5a601 *data/caneToad.groups.rda
9717326ce87a6b68d9dcaedec22aabfd *data/datalist
4733c183112570bb6954d306b6e20231 *data/datalist
56ae3d28264f2ee57da266bcaafea50e *data/mail.rda
3fdfd61583aba938c37c6184419cf768 *data/top.rda
1bb31afbac33efbd1eec9a5201e1aa8c *inst/doc/introduction.R
8fb1dc176dacbc5d91c804337137d1ec *inst/doc/introduction.Rmd
6dac96cde35e184a5507343a7922295b *inst/doc/introduction.html
b45434e08c24f778e88c753d599d6036 *inst/doc/visualize.R
0b74606e9ae952e188b93ebd604e90a5 *inst/doc/visualize.Rmd
7da4adebee9c0d57c613241944350f2e *inst/doc/visualize.html
fa439351ed526772ff3be62c65a29bd6 *man/bokeh.Rd
b34a26201df3d4b3b4b8f9e2363768b5 *man/bucket.Rd
7b068ca8add8c5e1f27a067da3de721c *man/caneToad.counts.Rd
45107d1560c300ff01112364fa71d93c *man/caneToad.groups.Rd
b4520a06097dd3d3ad5009c11558a55b *man/mds.Rd
ca4ece31cd9cb9a893b7d1af121985f2 *man/perb.Rd
aa9d8b8c2a05fe4f6e87c03ad2adac25 *man/phit.Rd
36807d41afd5f976807e1d677ef7db06 *man/plotCheck.Rd
93f9c5ed92d45a59064b05efd6e56292 *man/prism.Rd
6254e24d72b8f3c50cc74ebe23fce600 *man/propr-class.Rd
57f5f44bdc476052c3a450796bc404d7 *man/propr.Rd
665c24b5240465168bc90a0cf01c1d6d *man/proprALR.Rd
285ae9a1f15e70393644892715d10f91 *man/proprCLR.Rd
fbe2ee372be3b6a78b5a54aabb7cce8a *inst/doc/introduction.R
a8de2cad2a05aee92f8b85e047d933ca *inst/doc/introduction.Rmd
b5d90c4f7421cd370a918477552b4aae *inst/doc/introduction.html
7f37cbd547cf62c249b8982aad9cb466 *inst/doc/visualize.R
f5ce72827d06f5aaac0b15ede77179d3 *inst/doc/visualize.Rmd
d5bef36cae9c1b875f1c9fc0334397eb *inst/doc/visualize.html
e4fea7a40b75f4b146d0d863c1c49414 *man/abstract.Rd
fa1813bc758839472c691c9f39b95448 *man/caneToad.counts.Rd
3e8ddff58269a55b8fb572738126342f *man/caneToad.groups.Rd
6a48c66e0f519908da60a638f4a3e0f8 *man/dendroCheck.Rd
e2a9075f507496e9be0203767a502482 *man/differentialCheck.Rd
3b5178f610d840bf6918909c0ffa18cc *man/ggdend.Rd
1d85694863895f3cdcb9bc5ccf2d500c *man/lrmodel-class.Rd
82c05465fe5f8e661f4632b354860bfb *man/mail.Rd
50f042a68f1373d0d0bfd56255bde459 *man/modelCLR.Rd
55cc7b52f46a2dbe73e3b27438cf6803 *man/multiplot.Rd
b4f97f2397da0de60263b84b24f97e00 *man/packageCheck.Rd
7043174d731e25639abede771bf5c1b9 *man/plotCheck.Rd
a61e80dc40da66bcbd5662801f9026bb *man/promptCheck.Rd
56a494421c392d30a31a8e8849ad2ca7 *man/prop2prob.Rd
d26307baf3480bb4f3404da3db9ee08e *man/proportionality.Rd
b325f6f8f4d5b382ed2382babb348197 *man/propr.Rd
c37e59357aeaf79514336db0f708edad *man/proprALR.Rd
1dc820d6b64a7ab50546c5992f54291d *man/proprCLR.Rd
2379613006c2a437ec70672e4bc9fe1b *man/proprPairs.Rd
0e3fc0e43215cec94248afaeef214fc3 *man/proprPerb.Rd
0a6fcf0285b7d785a3eaa9eb9b6a6082 *man/proprPhit.Rd
aa2a06cf54fe19a483b566cfa2086fad *man/proprPerb.Rd
16ab73377b4cd7720bc51ae760d14d8a *man/proprPhit.Rd
9ee2ccbaf0706afa7fff9a61c5057e55 *man/proprSym.Rd
72bd9e24c0e891556408f3c57e6f298e *man/proprTri.Rd
c3d356df873fa5ef342285f05649c39d *man/proprVLR.Rd
a31be5d6c5604d568d0322add1d07037 *man/simplify.Rd
926338ee43388a6b46f70b44d22cdf45 *man/slate.Rd
a9969d3242f25167951c0638dac7d2a2 *man/snapshot.Rd
0122f5261defbc4065a508bdda44e1a2 *man/top.Rd
ea4d9fac6df9e8b31fc765e53c00ca99 *src/RcppExports.cpp
1719a0b39402e976bc204649c184770d *src/backend.cpp
951c5919bea5f35ee9ad4218a6eb9625 *man/proprTri.Rd
b23c06d927ab799f4126104c2285af1c *man/proprVLR.Rd
c6564bd049a14eae552da08d5e43a50c *man/top.Rd
bde4162c7f30eaaef673eea46d9a589a *man/visualize.Rd
2c82b070fb1c3e42c823f3710939e6bc *src/RcppExports.cpp
eab613fd6412716f6f8bdf4fc0bea293 *src/backend.cpp
38a416384180a93d31020bdffb37ccee *tests/testthat.R
63a47970d0a27f348d7dcc4e87df739a *tests/testthat/test-Rcpp.R
3f501b827c157ac04f2ca4fd6d8c0086 *tests/testthat/test-linRcpp.R
fc05d9b4d260a59e5ee9868520801bd6 *tests/testthat/test-logratio.R
7e1bb5475426feec65cea8b58275f890 *tests/testthat/test-lrmodel.R
8e71cb6dbce34a9dce413e4c707b429b *tests/testthat/test-perb.R
26849f406bac6e67a33e71150a8f34e2 *tests/testthat/test-phis.R
fb995286047319340ea951b7fb50b49a *tests/testthat/test-phit.R
47e7353c4b2bd47309a12835b1770442 *tests/testthat/test-prop2prob.R
b8ad11479a5be8cf446e974854a586d8 *tests/testthat/test-simplify.R
23378d943d79a9bf3fb14ed100337e57 *tests/testthat/test-vlr.R
8fb1dc176dacbc5d91c804337137d1ec *vignettes/introduction.Rmd
0b74606e9ae952e188b93ebd604e90a5 *vignettes/visualize.Rmd
a8de2cad2a05aee92f8b85e047d933ca *vignettes/introduction.Rmd
f5ce72827d06f5aaac0b15ede77179d3 *vignettes/visualize.Rmd
16 changes: 12 additions & 4 deletions NAMESPACE
Original file line number Diff line number Diff line change
@@ -1,32 +1,40 @@
# Generated by roxygen2: do not edit by hand

export(abstract)
export(adjacent)
export(bokeh)
export(bucket)
export(cytescape)
export(dendrogram)
export(mds)
export(modelCLR)
export(perb)
export(phis)
export(phit)
export(prism)
export(prop2prob)
export(simplify)
export(slate)
export(smear)
export(snapshot)
exportClasses(lrmodel)
exportClasses(propr)
exportMethods("[")
exportMethods(plot)
exportMethods(predict)
exportMethods(show)
exportMethods(subset)
importFrom(Rcpp,sourceCpp)
importFrom(grDevices,rainbow)
importFrom(methods,new)
importFrom(methods,show)
importFrom(stats,aov)
importFrom(stats,as.dendrogram)
importFrom(stats,as.dist)
importFrom(stats,as.formula)
importFrom(stats,cutree)
importFrom(stats,heatmap)
importFrom(stats,dist)
importFrom(stats,lm)
importFrom(stats,order.dendrogram)
importFrom(stats,p.adjust)
importFrom(stats,pnorm)
importFrom(stats,prcomp)
importFrom(stats,var)
useDynLib(propr)
86 changes: 84 additions & 2 deletions NEWS.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,85 @@
## propr 2.1.1
---------------------
* Modified `propr` Class
* Merged `propr-class` and `propr` documentation
* Modified `phit`, `perb` functions
* Merged `phit` and `perb` documentation
* New `phis` function returns `(1 - rho) / (1 + rho)`
* NAs in count matrix now throw error
* 0s now replaced with 1s
* Modified visualization tools
* Merged documentation

## propr 2.1.0
---------------------
* Modified `[` method
* Now joins newly indexed pairs with any existing index
* New `cytescape` function
* Uses `@pairs` slot to build an interaction network

## propr 2.0.9
---------------------
* Modified visualization tools
* Courtesy `prompt` argument extended to `smear` and `dendrogram`
* Improved error handling and documentation
* Modified `abstract` function
* New `dt` argument indexes significant results in `@pairs`
* Modified `simplify` function
* Now builds index of lower left triangle of matrix
* New `adjacent` function
* Uses `@pairs` slot to build an adjacency matrix

## propr 2.0.8
---------------------
* Modified visualization tools
* `bucket` now depends on `slate` function
* Modified backend code
* New `coordToIndex` performs inverse of `indexToCoord`
* Modified `prop2prob` function
* Return p-values as a sorted `data.table`
* Now lets user select `method` for p-value adjustment
* New `prompt` argument turns off big data prompt
* Fix pass by reference bug in `linRcpp`
* New `abstract` function
* Combines two `propr` objects into one

## propr 2.0.7
---------------------
* New `lrmodel` class
* Use `modelCLR` to capture the clr-transformation rule
* Use `predict` to deploy this rule to new data
* Modified backend code
* Added `corRcpp` function from `correlateR` package
* Added `linRcpp` function for Z-transformation
* Added `lltRcpp` and `urtRcpp` to retrieve a half-matrix
* Added `labRcpp` to label a half-matrix
* New `prop2prob` function
* Allows hypothesis testing of rho equals naught
* Tests differential proportionality

## propr 2.0.6
---------------------
* Modified visualization tools
* `plotCheck` extended to all plot functions
* `plot` method now calls `smear` function
* `dendrogram` plot now rendered using `ggplot2`
* `snapshot` plot now rendered using `ggplot2`
* `bokeh` plot now on positive log scale
* `plotly` support added
* Modified backend code
* Temporarily removed `a_bool` function
* Modified `[` method
* Removed `bool` and `copy` arguments

## propr 2.0.5
---------------------
* Modified backend code
* New `a_bool` function returns thresholded boolean matrix
* Modified `[` method
* New `bool` argument toggles whether to use `a_bool`
* New `tiny` argument toggles whether to use `simplify`
* New `copy` argument toggles `a_bool` copy-on-modify

## propr 2.0.4
---------------------
* New visualization tools
Expand Down Expand Up @@ -86,10 +168,10 @@
## propr 1.0.0
---------------------
* Introduced `phit` function
* Implements Lovell's \phi proportionality metric
* Implements Lovell's phi proportionality metric
* Returns object of class `propr`
* Introduced `perb` function
* Implements Erb's \rho proportionality metric
* Implements Erb's rho proportionality metric
* Returns object of class `propr`
* Introduced `propr` Class
* `show` method
Expand Down
28 changes: 28 additions & 0 deletions R/RcppExports.R
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
# Generated by using Rcpp::compileAttributes() -> do not edit by hand
# Generator token: 10BE3573-1514-4C36-9D1C-5A225CD40393

corRcpp <- function(X) {
.Call('propr_corRcpp', PACKAGE = 'propr', X)
}

covRcpp <- function(X, norm_type = 0L) {
.Call('propr_covRcpp', PACKAGE = 'propr', X, norm_type)
}
Expand Down Expand Up @@ -37,3 +41,27 @@ indexToCoord <- function(V, N) {
.Call('propr_indexToCoord', PACKAGE = 'propr', V, N)
}

coordToIndex <- function(row, col, N) {
.Call('propr_coordToIndex', PACKAGE = 'propr', row, col, N)
}

linRcpp <- function(rho, lr) {
.Call('propr_linRcpp', PACKAGE = 'propr', rho, lr)
}

lltRcpp <- function(X) {
.Call('propr_lltRcpp', PACKAGE = 'propr', X)
}

urtRcpp <- function(X) {
.Call('propr_urtRcpp', PACKAGE = 'propr', X)
}

labRcpp <- function(nfeats) {
.Call('propr_labRcpp', PACKAGE = 'propr', nfeats)
}

rhoToPhs <- function(X) {
.Call('propr_rhoToPhs', PACKAGE = 'propr', X)
}

0 comments on commit 939bae3

Please sign in to comment.