Science Score: 23.0%
This score indicates how likely this project is to be science-related based on various indicators:
-
○CITATION.cff file
-
○codemeta.json file
-
○.zenodo.json file
-
✓DOI references
Found 4 DOI reference(s) in README -
✓Academic publication links
Links to: sciencedirect.com -
○Committers with academic emails
-
○Institutional organization owner
-
○JOSS paper metadata
-
○Scientific vocabulary similarity
Low similarity (15.2%) to scientific vocabulary
Keywords
Repository
Common PCA
Statistics
- Stars: 8
- Watchers: 2
- Forks: 3
- Open Issues: 1
- Releases: 0
Topics
Metadata Files
README.md
cpca
About
The cpca package approaches Common Principal Component Analysis (CPCA) using the stepwise method proposed by Trendafilov. In contrast to others, this method orders the components by the explained variance intrincically and allows computing a few first components. The later feature is beneficial in practice for high-dimensional data.

The figure above shows an application of CPCA to the image compression problem. The original figure is the famous one from http://lenna.org, and we estimated CPCA for three RBG data matrices simultaneously rather than doing SVD/PCA for each matrix separately. (Spoiler: the performance of PCA and CPCA is visually the same, and this example is sought for the demonstration purpose only.)
Left panel on the Figure shows the CPCA-based compression using 5 components, central panel - 25 components, and right panel - all components. Script: learn/03-pca/R/05-compress-image-cpca.R.
The main function in the official release is cpc, while a new function cpca is used in the development branch.
CPCA on the iris data
library(cpca)
demo(iris, package = "cpca")
The demo.html shows that
the eigenvectors obtained by the cpc function are exactly the same as reported
in Trendafilov et al., 2010, Section 5, Example 2.
Installation
The following commands install the development (master branch) version from Github.
library(devtools)
install_github("cpca", user = "variani")
Citation
Currently, we don't have a specific publication for the cpca package. Please see the current citation information by the following command in R.
library(cpca)
citation(package = "cpca")
References
A list of publications where the cpca package was used:
- Kanaan-Izquierdo et al., Multiview approach to spectral clustering, EMBC, 2012
- Fernandez-Albert et al., Intensity drift removal in LC/MS metabolomics by common variance compensation, Bioinformatics, 2014
License
The cpca package is licensed under the GPLv3. See COPYING file in the inst directory for additional details.
- COPYING - cpca package license (GPLv3)
Owner
- Name: Andrey Ziyatdinov
- Login: variani
- Kind: user
- Location: Boston
- Company: Harvard University
- Repositories: 18
- Profile: https://github.com/variani
PostDoc in StatGen
GitHub Events
Total
- Watch event: 1
- Fork event: 1
Last Year
- Watch event: 1
- Fork event: 1
Committers
Last synced: over 2 years ago
Top Committers
| Name | Commits | |
|---|---|---|
| variani | m****i@g****m | 111 |
| variani | v****i | 34 |
| variani | j****e@e****m | 10 |
Issues and Pull Requests
Last synced: over 2 years ago
All Time
- Total issues: 1
- Total pull requests: 0
- Average time to close issues: N/A
- Average time to close pull requests: N/A
- Total issue authors: 1
- Total pull request authors: 0
- Average comments per issue: 0.0
- Average comments per pull request: 0
- Merged pull requests: 0
- Bot issues: 0
- Bot pull requests: 0
Past Year
- Issues: 0
- Pull requests: 0
- Average time to close issues: N/A
- Average time to close pull requests: N/A
- Issue authors: 0
- Pull request authors: 0
- Average comments per issue: 0
- Average comments per pull request: 0
- Merged pull requests: 0
- Bot issues: 0
- Bot pull requests: 0
Top Authors
Issue Authors
- majick-skeleton-bone (1)
Pull Request Authors
Top Labels
Issue Labels
Pull Request Labels
Packages
- Total packages: 1
-
Total downloads:
- cran 123 last-month
- Total dependent packages: 0
- Total dependent repositories: 0
- Total versions: 1
- Total maintainers: 1
cran.r-project.org: cpca
Methods to perform Common Principal Component Analysis (CPCA)
- Homepage: https://github.com/variani/cpca
- Documentation: http://cran.r-project.org/web/packages/cpca/cpca.pdf
- License: GPL (≥ 3)
- Status: removed
-
Latest release: 0.1.2
published about 12 years ago
Rankings
Maintainers (1)
Dependencies
- R >= 3.0.1 depends
- Matrix * imports
- Rcpp * imports
- RcppParallel * imports
- ggplot2 * imports
- methods * imports
- pls * imports
- plyr * imports
- ElemStatLearn * suggests
- MASS * suggests
- abind * suggests
- gridExtra * suggests
- knitr * suggests
- mclust * suggests
- pander * suggests
- rmarkdown * suggests
- testthat * suggests