Package survclip. November 22, 2017

Similar documents
Package PDN. November 4, 2017

Package datasets.load

Package epitab. July 4, 2018

Package MIICD. May 27, 2017

Package aop. December 5, 2016

Package sigqc. June 13, 2018

Package TVsMiss. April 5, 2018

Package spark. July 21, 2017

Package rereg. May 30, 2018

Package kirby21.base

Package quickreg. R topics documented:

Package PCADSC. April 19, 2017

Package NFP. November 21, 2016

Package intccr. September 12, 2017

Package rqt. November 21, 2017

Package ArCo. November 5, 2017

Package crossword.r. January 19, 2018

Package jstree. October 24, 2017

Package cattonum. R topics documented: May 2, Type Package Version Title Encode Categorical Features

Package Numero. November 24, 2018

Package smcfcs. March 30, 2019

Package rpst. June 6, 2017

Package bisect. April 16, 2018

Package PTE. October 10, 2017

Package PCGSE. March 31, 2017

Package OsteoBioR. November 15, 2018

Package fastdummies. January 8, 2018

Package repec. August 31, 2018

Package estprod. May 2, 2018

Package CatEncoders. March 8, 2017

Package simsurv. May 18, 2018

Package RTNduals. R topics documented: March 7, Type Package

Package TANDEM. R topics documented: June 15, Type Package

Package hypercube. December 15, 2017

Package GFD. January 4, 2018

Package orthodr. R topics documented: March 26, Type Package

Package simulatorz. March 7, 2019

Package pwrab. R topics documented: June 6, Type Package Title Power Analysis for AB Testing Version 0.1.0

Package clusterrepro

Package d3plus. September 25, 2017

Package nricens. R topics documented: May 30, Type Package

Package texteffect. November 27, 2017

Package graphite. June 29, 2018

Package balance. October 12, 2018

Package omu. August 2, 2018

Package CuCubes. December 9, 2016

Package PrivateLR. March 20, 2018

Package nsprcomp. August 29, 2016

Package IATScore. January 10, 2018

Package survivalmpl. December 11, 2017

Package pcr. November 20, 2017

Package MTLR. March 9, 2019

Package bayeslongitudinal

Package SIMLR. December 1, 2017

Package InformativeCensoring

Package BayesCR. September 11, 2017

Package MOST. November 9, 2017

Package flsa. February 19, 2015

Package biosigner. March 6, 2019

Package distdichor. R topics documented: September 24, Type Package

Package gggenes. R topics documented: November 7, Title Draw Gene Arrow Maps in 'ggplot2' Version 0.3.2

Package svalues. July 15, 2018

Package geojsonsf. R topics documented: January 11, Type Package Title GeoJSON to Simple Feature Converter Version 1.3.

Package glmnetutils. August 1, 2017

Package RaPKod. February 5, 2018

Package clustree. July 10, 2018

Package ECctmc. May 1, 2018

Package editdata. October 7, 2017

Package quadprogxt. February 4, 2018

Package addhaz. September 26, 2018

Package comparedf. February 11, 2019

Package nngeo. September 29, 2018

Package DSBayes. February 19, 2015

Package inca. February 13, 2018

Package canvasxpress

Package robustreg. R topics documented: April 27, Version Date Title Robust Regression Functions

Package BDMMAcorrect

Package CausalImpact

Package esabcv. May 29, 2015

Package naivebayes. R topics documented: January 3, Type Package. Title High Performance Implementation of the Naive Bayes Algorithm

Package SEMrushR. November 3, 2018

Package farver. November 20, 2018

Package automl. September 13, 2018

Package nonlinearicp

Package raker. October 10, 2017

Package robustfa. February 20, 2015

Package rmi. R topics documented: August 2, Title Mutual Information Estimators Version Author Isaac Michaud [cre, aut]

Package lmesplines. R topics documented: February 20, Version

Package scmap. March 29, 2019

Package CorporaCoCo. R topics documented: November 23, 2017

Package CompGLM. April 29, 2018

Package robustfa. February 15, 2013

Package fusionclust. September 19, 2017

Package tropicalsparse

Package POST. R topics documented: November 8, Type Package

Package snplist. December 11, 2017

Package globalgsa. February 19, 2015

Package PedCNV. February 19, 2015

Package ANOVAreplication

Package coda.base. August 6, 2018

Transcription:

Type Package Title Survival Analysis for Pathways Version 0.2.3 Author Package survclip November 22, 2017 Maintainer <paolo.cavei@gmail.com> Survival analysis using pathway topology. Data reduction techniques with graphical models are used to identify pathways or modules that are associated to survival. Encoding UTF-8 LazyData true Depends Imports clipper, checkmate, graph, methods, qpgraph, corpcor, survival, rrcov, FactoMineR, elasticnet Suggests RUnit, BiocGenerics, graphite, curatedovariandata, MASS, BiocStyle, org.hs.eg.db License AGPL-3 NeedsCompilation no Repository CRAN Date/Publication 2017-11-22 09:16:23 UTC R topics documented: cliquesurvivaltest...................................... 2 computedays........................................ 3 computepcs......................................... 3 exp.............................................. 4 gettoploadgenes...................................... 5 graph............................................ 6 pathwaysurvivaltest.................................... 6 survannot.......................................... 8 survcliques-class...................................... 8 survpath-class........................................ 9 1

2 cliquesurvivaltest Index 11 cliquesurvivaltest Perform survival test on all the cliques of the graph. This function performs survival test on given pathway using a matrix with survival annotation. cliquesurvivaltest(expr, survannot, graph, pcssurvcoxmethod = c("regular", "sparse"), alwaysshrink = FALSE, maxpcs = 10, survformula = "Surv(days, status) ~") Arguments expr graph expression matrix a graphnel object survannot a data frame for survival annotations specified according to the survformuala. The data frame must contain days and status. pcssurvcoxmethod a method to perform PCA. A method to perform "regular", "sparse" for regular PCA and sparse PCA, respectively. alwaysshrink maxpcs survformula if TRUE, always shrink the covariance matrix. Deafult=FALSE maximum number of PCs used in the Cox formula "Surv(days, status) ~ PC1.." the formula to use in coxph analysis. Defaut="Surv(days, status) ~". Please note that the formula end with ~ meaning that PCs will be added. Details Survival test is made according to survformula. With regular method, a regular PCA analysis is used to compute PCs. With sparse method, a penalized regression is used for the estimation of PCs (as implemented in elasticnet). Value A survcliques object. See Also pathwaysurvivaltest gettoploadgenes

computedays 3 if (require(graphite)) { data(exp) data(survannot) data(graph) row.names(exp) <- paste0("entrezid:", row.names(exp)) genes <- intersect(graph::nodes(graph), row.names(exp)) graph <- graph::subgraph(genes, graph) expr <- exp[genes,, drop=false] cliquesurvivaltest(expr, survannot, graph, maxpcs=2) } computedays Function to compute days. A simple function to start from an interval of dates to days. computedays(timetable) Arguments timetable a table with starting date and ending date. Value the days computepcs For internal usage only. Compute principal components according to the chosen method. For internal usage. Compute the PCs according to 3 methods: regular, ropological, sparse. computepcs(exp, shrink, method = c("regular", "topological", "sparse"), cliques = NULL, maxpcs)

4 exp Arguments exp shrink method cliques maxpcs exp shrink boolean either regular, topological, sparse if NULL, no topology. mac pcs returned. Details For internal usage. Value x=scores, sdev=sd x sdev pcs standar deviation for pcs. exp Expression dataset. Toy example of an expression dataset for survival test. data("exp") Format A matrix with 246 genes (rows) measured across 73 patients (columns). data(exp)

gettoploadgenes 5 gettoploadgenes Extract the relevant genes associated with survival Given a survcliques object the function extracts those genes that are the most influent in the PCs identified as significant with a certain threshold. gettoploadgenes(scobj, thr=0.05, n=5, loadthr=0.6) Arguments scobj thr n loadthr an object survcliques threshold to consider a clique as significant. This threshold is used also for the significance of the zscores in zlist return up to n top relevant genes filter loadings according to loadthr absolute value Details Function to reveal those genes that are more relevant in the survival process. The relevance of a gene is based on PC loadings. Value a data.frame organized as follows: 1. featuregene names 2. clidclique id 3. geneloadgene loading 4. whichpcthe significant PC where the gene is relevant All significant cliques are represented. The importance of the genes is expressed by its loading. See Also cliquesurvivaltest

6 pathwaysurvivaltest if (require(graphite)) { data(exp) data(survannot) data(graph) row.names(exp) <- paste0("entrezid:", row.names(exp)) genes <- intersect(graph::nodes(graph), row.names(exp)) graph <- graph::subgraph(genes, graph) expr <- exp[genes,, drop=false] cliquetest <- cliquesurvivaltest(expr, survannot, graph, maxpcs=2) gettoploadgenes(cliquetest) } graph Expression dataset. Toy example of graphnel object for pathway the survival test. data("graph") Format A graphnel object of a pathway with 308 nodes. data(graph) pathwaysurvivaltest Survival analysis on the whole pathway This function performs survival analysis on pathways. The analysis can be either topological or classical. The analysis is based on data reduction based on Principal Component Analysis and a Cox proportional hazard model on the most influent PCs. pathwaysurvivaltest(expr, survannot, graph, pcssurvcoxmethod = c("regular", "topological", "sparse"), alwaysshrink = FALSE, maxpcs = 10, survformula = "Surv(days, status) ~")

pathwaysurvivaltest 7 Arguments expr survannot expression matrix. a data frame for survival annotations specified according to the survformula. The data frame must contain days and status. graph a graphnel object for a graph pcssurvcoxmethod a method to perform PCA. Can be "regular", "topological", "sparse" for regular PCA, topological based PCA and sparse PCA, respectively. The latter one (sparse) is particularly suited for cliques only. alwaysshrink maxpcs survformula if TRUE, always shrink the covariance matrix. Deafult=FALSE maximum number of PCs used in the cox formula "Surv(days, status) ~ PC1.." the formula used in Coxph analysis. Defaut="Surv(days, status) ~". Please note that the formula end with ~ meaning that PCs will be added. Details With regular method, a regular PCA analysis is used to compute PCs. With topological method, the covariance matrix is estimated using the topology of the pathway with IPS algorithm. With sparse method, a penalized regression is used for the estimation of PCs (as implemented in elasticnet). The max number of PCs used by the model is estimated by "estim_ncp" in FactoMineR. A maximum number of PCs can be fixed by the user. The minimum ot the two is chosen. Value A survpath object. See Also cliquesurvivaltest if (require(graphite)) { data(exp) data(survannot) data(graph) row.names(exp) <- paste0("entrezid:", row.names(exp)) genes <- intersect(graph::nodes(graph), row.names(exp)) graph <- graph::subgraph(genes, graph) expr <- exp[genes,, drop=false] pathwaysurvivaltest(expr, survannot, graph, maxpcs=2) }

8 survcliques-class survannot Annotations. Survival annotation for toy example dataset. data("survannot") Format A data frame with 73 observations on the following 2 variables. days a character vector, with the days to Death/last follow up after 1st surgical event. status dead = 1, alive = 0 data(survannot) survcliques-class Class "survcliques" Class for survival clique analysis Objects from the Class Slots Objects can be created by calls of the form new("survcliques",...). alphas, zlist, cliques, cliquesloadings..data: Object of class "list" alphas: Object of class "numeric". It contains pvalues of the cliques. zlist: Object of class "list". For each cliques, the list of pvalues for all the covariates. cliques: Object of class "list". The list of the genes in the cliques. coxobjs: Object of class "list". For each cliques, the object used for Coxph analysis. cliquesloadings: Object of class "list". For each cliques, the loadings as calculated by the PCA. cliquesexpr: Object of class "list". For each cliques, the cliques expression.

survpath-class 9 Extends Class "list", from data part. Class "vector", by class "list", distance 2. Class "Ulist", by class "list", distance 2. Class "Uvector", by class "list", distance 3. Methods No methods defined with class "survcliques" in the signature. showclass("survcliques") survpath-class Class "survpath" Class for survival pathway analysis. Objects from the Class Slots Objects can be created by calls of the form new("survpath",...). pvalue, zlist, coxobj, loadings and the method used. Extends.Data: Object of class "list" pvalue: Object of class "numeric". It contains the pvalue of the whole model generated by the analysis. zlist: Object of class "numeric". List of pvalues for all the covariates. coxobj: Object of class "data.frame". The object used for Coxph analysis. loadings: Object of class "matrix". The loadings as calculated by the PCA. method: Object of class "character". Type of method used. Class "list", from data part. Class "vector", by class "list", distance 2. Class "Ulist", by class "list", distance 2. Class "Uvector", by class "list", distance 3. Methods No methods defined with class "survpath" in the signature.

10 survpath-class showclass("survpath")

Index Topic classes survcliques-class, 8 survpath-class, 9 Topic datasets exp, 4 graph, 6 survannot, 8 cliquesurvivaltest, 2, 5, 7 comppcs (computepcs), 3 computedays, 3 computepcs, 3 exp, 4 gettoploadgenes, 2, 5 graph, 6 list, 9 pathwaysurvivaltest, 2, 6 sparsecomppcs (computepcs), 3 survannot, 8 survcliques (survcliques-class), 8 survcliques-class, 8 survpath (survpath-class), 9 survpath-class, 9 topocomppcs (computepcs), 3 Ulist, 9 Uvector, 9 vector, 9 11