Package: pathwayPCA 1.29.0

Gabriel Odom

pathwayPCA: Integrative Pathway Analysis with Modern PCA Methodology and Gene Selection

pathwayPCA is an integrative analysis tool that implements the principal component analysis (PCA) based pathway analysis approaches described in Chen et al. (2008), Chen et al. (2010), and Chen (2011). pathwayPCA allows users to: (1) Test pathway association with binary, continuous, or survival phenotypes. (2) Extract relevant genes in the pathways using the SuperPCA and AES-PCA approaches. (3) Compute principal components (PCs) based on the selected genes. These estimated latent variables represent pathway activities for individual subjects, which can then be used to perform integrative pathway analysis, such as multi-omics analysis. (4) Extract relevant genes that drive pathway significance as well as data corresponding to these relevant genes for additional in-depth analysis. (5) Perform analyses with enhanced computational efficiency with parallel computing and enhanced data safety with S4-class data objects. (6) Analyze studies with complex experimental designs, with multiple covariates, and with interaction effects, e.g., testing whether pathway association with clinical phenotype is different between male and female subjects. Citations: Chen et al. (2008) <https://doi.org/10.1093/bioinformatics/btn458>; Chen et al. (2010) <https://doi.org/10.1002/gepi.20532>; and Chen (2011) <https://doi.org/10.2202/1544-6115.1697>.

Authors:Gabriel Odom [aut, cre], James Ban [aut], Lizhong Liu [aut], Lily Wang [aut], Steven Chen [aut]

pathwayPCA_1.29.0.tar.gz
pathwayPCA_1.29.0.zip(r-4.7)pathwayPCA_1.29.0.zip(r-4.6)pathwayPCA_1.29.0.zip(r-4.5)
pathwayPCA_1.29.0.tgz(r-4.6-any)pathwayPCA_1.29.0.tgz(r-4.5-any)
pathwayPCA_1.29.0.tar.gz(r-4.7-any)pathwayPCA_1.29.0.tar.gz(r-4.6-any)
pathwayPCA_1.29.0.tgz(r-4.6-emscripten)
manual.pdf |manual.html
DESCRIPTION |NEWS
card.svg |card.png
pathwayPCA/json (API)

# Install 'pathwayPCA' in R:
install.packages('pathwayPCA', repos = c('https://bioc.r-universe.dev', 'https://cloud.r-project.org'))

Bug tracker:https://github.com/gabrielodom/pathwaypca/issues

Datasets:

On BioConductor:pathwayPCA-1.29.0(bioc 3.24)pathwayPCA-1.28.0(bioc 3.23)

copynumbervariationdnamethylationgeneexpressionsnptranscriptiongenepredictiongenesetenrichmentgenesignalinggenetargetgenomewideassociationgenomicvariationcellbiologyepigeneticsfunctionalgenomicsgeneticslipidomicsmetabolomicsproteomicssystemsbiologytranscriptomicsclassificationdimensionreductionfeatureextractionprincipalcomponentregressionsurvivalmultiplecomparisonpathways

7.75 score 11 stars 43 scripts 4 mentions 30 exports 4 dependencies

Last updated from:0d6fb70768. Checks:1 WARNING, 7 NOTE, 2 OK. Indexed: yes.

TargetResultTimeFilesSyslog
bioc-checksWARNING232
linux-devel-x86_64NOTE401
source / vignettesOK349
linux-release-x86_64NOTE388
macos-release-arm64NOTE133
macos-oldrel-arm64NOTE130
windows-develNOTE182
windows-releaseNOTE192
windows-oldrelNOTE183
wasm-releaseOK190

Exports:aespcaAESPCA_pValsContainsCreateOmicsCreatePathwayCollectionExtractAESPCsgetAssaygetAssay<-getEventgetEvent<-getEventTimegetEventTime<-getPathPCLsgetPathpValsgetPathwayCollectiongetPathwayCollection<-getResponsegetResponse<-getSampleIDsgetSampleIDs<-getTrimPathwayCollectionLoadOntoPCsread_gmtSE2TidyshowSubsetPathwayDataSuperPCA_pValsTransposeAssayWhichPathwayswrite_gmt

Dependencies:larslatticeMatrixsurvival

Suppl. Ch. 2 - Import and Tidy Data
1. Overview | 2. GMT Files | 2.1 GMT Format Description | 2.2 Import GMT files with read_gmt | 2.3 Creating Your Own pathwayCollection List | 2.4 Importing a Pathway Collection from Wikipathways | 2.4 Writing a pathwayCollection Object to a .gmt File | 3. Import and Tidy an Assay Matrix | 3.1 Import with readr | 3.2 Tidy the Assay Data Frame | 3.3 Subsetting a Tidy Data Frame | 3.4 Data from a SummarizedExperiment Object | 4. Import and Join Response Data | 5. Example Tidy Assay and Pathways List | 6. Review

Last update: 2022-01-15
Started: 2018-12-14

Suppl. Ch. 5 - Visualizing the Results
1. Overview | 1.1 Packages | 1.2 Example Results | 2. Plot Pathway Significance Levels | 2.1 Trim Pathway Names | 2.2 Tidy the Pathway Results | 2.3 Plot Significant Survival Pathways for One Adjustment | 2.4 Plot Significant Survival Pathways for All Adjustments | 3. Inspecting the Driving Genes | 3.1 Extract Pathway Decomposition | 3.2 Gene Loadings | 3.2.1 Wrangle Pathway Loadings | 3.2.2 Plot the Gene Loadings | 3.3 Gene Correlations with PCs | 3.3.1 Calculate Pathway Correlations | 3.3.2 Plot the Assay-PC Correlation | 4. Plot patient-specific pathway activities | 5. Review

Last update: 2020-12-07
Started: 2018-12-14

Integrative Pathway Analysis with pathwayPCA
1. Introduction | Installing the Package | Stable Build | Development Build | Loading Packages | 2. Case study: identifying significant pathways in protein expressions associated with survival outcome in ovarian cancer data | 2.1. Ovarian cancer dataset | 2.2. Creating an Omics data object for pathway analysis | 2.2.1 Expression and Phenotype Data | 2.2.2 Pathway Collections | 2.2.3 Create an OmicsSurv Data Container | 2.3. Testing pathway association with phenotypes | 2.3.1 Method Description | 2.3.2 Implementation | 2.3.3 The pathway analysis results | 2.3.4 Extract relevant genes from significant pathways | 2.3.5 Subject-specific PCA estimates | 2.3.6 Extract analysis dataset for significant pathways | 3. Case study: an integrative multi-omics pathway analysis of ovarian cancer data | 3.1 Creating copy number Omics data object for pathway analysis | 3.2 Identifying significant pathways and relevant genes in both CNV and protein level | 3.3 An integrative view on patient-specific pathway activities | 4. Case study: analysis of studies with complex designs | 4.1 Data setup and AESPCA analysis | 4.2 Test for sex interaction with first PC | 4.3 Survival curves by sex interaction | 5. Further reading | 6. References

Last update: 2020-11-30
Started: 2018-12-14

Suppl. Ch. 1 - Quickstart Guide for New R Users
1. Overview | Installing the Package | Stable Build | Development Build | Loading Packages | 2. Import Data | 2.1 Import .gmt Files | 2.2 Import and Tidy Assay Data | 2.3 Import Phenotype Info | 2.4 Match the Phenotype and Assay Data | 3. Create an Omics Data Object | 3.1 Create an Object | 3.2 Inspect the Object | 3.3 Detailed Object Views | 3.3.1 View the Assay | 3.3.2 View the pathwayCollection List | 3.3.3 View the Event Time | 3.3.4 View the Event Indicator | 4. Test Pathways for Significance | 4.1 AES-PCA | 4.2 Supervised PCA | 5. Inspect Results | 5.1 Analysis Output Table | 5.2 Graph of Top Pathways | 5.2.1 Tidy Up the Data | 5.2.2 Graph Pathway Ranks | 6. Links to Detailed Information

Last update: 2019-04-15
Started: 2018-12-14

Suppl. Ch. 3 - Creating Data Objects
1. Overview | 1.1 Outline | 1.2 Import Data | 2. Omics-Class Objects Defined | 2.1 Class Overview | 2.2 Review of Data Types in R | 3. Create New Omics Objects | 3.1 Overview of Subtypes | 3.2 Create a Survival Omics Data Object | 3.3 View the New Object | 3.4 Regression and Classification Omics Data Objects | 4. Inspecting and Editing Omics-Class Objects | 4.1 Example "Get" Function | 4.2 Example "Set" Function | 4.3 Table of Accessors | 4.4 Inspect the Updated pathwayCollection List | 5. Review

Last update: 2019-04-15
Started: 2018-12-14

Suppl. Ch. 4 - Test Pathway Significance
1. Overview | 1.1 Outline | 1.2 Load Packages | 1.3 Load Omics Data | 2. Pathway Testing Setup | 2.1 Pathway Significance Testing Overview | 2.2 Extract Pathway PCs | 2.3 Test Pathway Association | 2.4 Adjust the Pathway $p$-Values for FDR | 2.5 Output a Sorted Data Frame / Tibble | 3. AES-PCA | 3.1 Method Details | 3.1.1 AES-PCA Method Sources | 3.1.2 Calculate Pathway-Specific Model $p$-Values | 3.1.3 AES-PCA Pros and Cons | 3.2 AES-PCA Examples | 3.2.1 Survival Response | 3.2.2 Regression Response | 3.2.3 Binary Classification Response | 4. Supervised PCA | 4.1 Method Details | 4.1.1 Supervised PCA Method Sources | 4.1.2 Calculate Pathway-Specific Model $p$-Values | 4.1.3 Supervised-PCA Pros and Cons | 4.2 Supervised PCA Examples | 4.2.1 Survival Response | 4.2.2 Regression Response | 4.2.3 Binary Classification Response | 5. Inspect the Results | 5.1 Table of $p$-Values | 5.2 Pathway PC and Loading Vectors | 6. Review

Last update: 2019-04-15
Started: 2018-12-14

Readme and manuals

Help Manual

Help pageTopics
Adaptive, elastic-net, sparse principal component analysisaespca
Test pathway association with AES-PCAAESPCA_pVals AESPCA_pVals,OmicsPathway-method
Gene Pathway Subsetcolon_pathwayCollection
Colon Cancer -Omics DatacolonSurv_df
Check if a long atomic vector contains a short atomic vectorContains
Generation Wrapper function for '-Omics*'-class objectsCreateOmics
Generation functions for '-Omics*'-class objectsCreateOmicsCateg CreateOmicsPath CreateOmicsReg CreateOmicsSurv
Manually Create a 'pathwayCollection'-class Object.CreatePathwayCollection
Extract PCs and Loadings from a 'superpcOut'- or 'aespcOut'-class Object.getPathPCLs getPathPCLs.aespcOut getPathPCLs.superpcOut
Extract Table of p-values from a 'superpcOut'- or 'aespcOut'- class Object.getPathpVals getPathpVals.aespcOut getPathpVals.superpcOut
Calculate Test Data PCs from Training-Data Estimated LoadingsLoadOntoPCs
An S4 class for categorical responses within an 'OmicsPathway' objectOmicsCateg-class
An S4 class for mass spectrometry or bio-assay data and gene pathway listsOmicsPathway-class
An S4 class for continuous responses within an 'OmicsPathway' objectOmicsReg-class
An S4 class for survival responses within an 'OmicsPathway' objectOmicsSurv-class
Extract and Test the Significance of Pathway-Specific Principal ComponentspathwayPCA
Read a '.gmt' file in as a 'pathwayCollection' objectread_gmt
Tidy a SummarizedExperiment AssaySE2Tidy
Access and Edit Assay or 'pathwayCollection' Values in 'Omics*' ObjectsgetAssay getAssay,OmicsPathway-method getAssay<- getAssay<-,OmicsPathway-method getPathwayCollection getPathwayCollection,OmicsPathway-method getPathwayCollection<- getPathwayCollection<-,OmicsPathway-method getSampleIDs getSampleIDs,OmicsPathway-method getSampleIDs<- getSampleIDs<-,OmicsPathway-method getTrimPathwayCollection getTrimPathwayCollection,OmicsPathway-method SubsetOmicsPath
Access and Edit Response of an 'OmicsReg' or 'OmicsReg' ObjectgetResponse getResponse,OmicsPathway-method getResponse<- getResponse<-,OmicsPathway-method SubsetOmicsResponse
Access and Edit Event Time or Indicator in an 'OmicsSurv' ObjectgetEvent getEvent,OmicsSurv-method getEvent<- getEvent<-,OmicsSurv-method getEventTime getEventTime,OmicsSurv-method getEventTime<- getEventTime<-,OmicsSurv-method SubsetOmicsSurv
Subset a 'pathwayCollection'-class Object by Pathway.SubsetPathwayCollection [[.pathwayCollection
Subset Pathway-Specific DataSubsetPathwayData SubsetPathwayData,OmicsPathway-method
Test pathways with Supervised PCASuperPCA_pVals SuperPCA_pVals,OmicsPathway-method
Transpose an Assay (Data Frame)TransposeAssay
Filter and Subset a 'pathwayCollection'-class Object by Symbol.WhichPathways
Wikipathways Homosapiens EntrezIDswikipwsHS_Entrez_pathwayCollection
Wikipathways Homosapiens Gene SymbolswikipwsHS_Symbol_pathwayCollection
Write a 'pathwayCollection' Object to a '.gmt' Filewrite_gmt