Package: sparrow 1.11.0

Steve Lianoglou

sparrow: Take command of set enrichment analyses through a unified interface

Provides a unified interface to a variety of GSEA techniques from different bioconductor packages. Results are harmonized into a single object and can be interrogated uniformly for quick exploration and interpretation of results. Interactive exploration of GSEA results is enabled through a shiny app provided by a sparrow.shiny sibling package.

Authors:Steve Lianoglou [aut, cre], Arkadiusz Gladki [ctb], Aratus Informatics, LLC [fnd], Denali Therapeutics [fnd], Genentech [fnd]

sparrow_1.11.0.tar.gz
sparrow_1.11.0.zip(r-4.5)sparrow_1.11.0.zip(r-4.4)sparrow_1.11.0.zip(r-4.3)
sparrow_1.11.0.tgz(r-4.4-any)sparrow_1.11.0.tgz(r-4.3-any)
sparrow_1.11.0.tar.gz(r-4.5-noble)sparrow_1.11.0.tar.gz(r-4.4-noble)
sparrow_1.11.0.tgz(r-4.4-emscripten)sparrow_1.11.0.tgz(r-4.3-emscripten)
sparrow.pdf |sparrow.html
sparrow/json (API)
NEWS

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

Peer review:

Bug tracker:https://github.com/lianos/sparrow/issues

On BioConductor:sparrow-1.11.0(bioc 3.20)sparrow-1.10.1(bioc 3.19)

bioconductor-package

74 exports 1.08 score 136 dependencies 1 dependents

Last updated 2 months agofrom:52fa858161

Exports:addCollectionMetadataaddGeneSetMetadataannotateGeneSetMembershipcalculateIndividualLogFCcollectionMetadatacombineconformconvertIdentifierscorploteigenWeightedMeanencode_gskeyexampleBiocSetexampleDgeResultexampleExpressionSetexampleGeneSetDbexampleGeneSetDFexampleGeneSetsexampleSparrowResultfailWithfeatureIdMapfeatureIdsfeatureIdTypefeatureIdType<-geneSetgeneSetCollectionURLfunctiongeneSetCollectionURLfunction<-geneSetDbGeneSetDbgeneSetsgeneSetsStatsgeneSetSummaryByGenesgeneSetURLgetKeggCollectiongetKeggGeneSetDbgetMSigCollectiongetMSigGeneSetDbgetPantherCollectiongetPantherGeneSetDbgetReactomeCollectiongoseqgsdScorehasGeneSethasGeneSetCollectionincidenceMatrixiplotis.activeis.conformedlogFCmgheatmapmgheatmap2msgnroworap.matrixplot_ora_biasrandomGeneSetDbrenameCollectionsrenameRowsresultresultNamesresultsscale_rowsscoreSingleSamplesseassparrow_methodsspecies_infosplit_gskeysubsetByFeaturestabulateResultsunconformvalidateInputsvolcanoPlotvolcanoStatsTablezScore

Dependencies:abindannotateAnnotationDbiaskpassbabelgenebackportsbase64encBHBiobaseBiocGenericsBiocIOBiocParallelBiocSetBiostringsbitbit64blobbslibcachemcheckmatecirclizecliclueclustercodetoolscolorspaceComplexHeatmapcpp11crayoncrosstalkcurldata.tableDBIDelayedArrayDelayedMatrixStatsdigestdoParalleldplyredgeRevaluatefansifarverfastmapfontawesomeforeachformatRfsfutile.loggerfutile.optionsgenericsGenomeInfoDbGenomeInfoDbDataGetoptLongggplot2GlobalOptionsgluegraphgridExtraGSEABasegtablehighrhtmltoolshtmlwidgetshttrIRangesirlbaisobanditeratorsjquerylibjsonliteKEGGRESTknitrlabelinglambda.rlaterlatticelazyevallifecyclelimmalocfitmagrittrMASSMatrixMatrixGenericsmatrixStatsmemoisemgcvmimemunsellnlmeontologyIndexopensslpillarpkgconfigplogrplotlyplyrpngpromisespurrrR6rappdirsRColorBrewerRcpprjsonrlangrmarkdownRSQLiteS4ArraysS4VectorssassscalesshapesnowSparseArraysparseMatrixStatsstatmodstringistringrsystibbletidyrtidyselecttinytexUCSC.utilsutf8vctrsviridisviridisLitewithrxfunXMLxtableXVectoryamlzlibbioc

Performing gene set enrichment analyses with sparrow

Rendered fromsparrow.Rmdusingknitr::rmarkdownon Jul 02 2024.

Last update: 2021-10-13
Started: 2021-05-04

Readme and manuals

Help Manual

Help pageTopics
Subset whole genesets from a GeneSetDb[,GeneSetDb,ANY,ANY,ANY-method
Add metadata at the geneset level.addGeneSetMetadata
Checks equality (feature parity) between GeneSetDb objectsall.equal.GeneSetDb
Annotates rows of a data.frame with geneset membership from a GeneSetDbannotateGeneSetMembership
Utility function to run limma differential expression analysiscalculateIndividualLogFC
Gene Set Collection MetadataaddCollectionMetadata collectionMetadata collectionMetadata,GeneSetDb,character,character-method collectionMetadata,GeneSetDb,character,missing-method collectionMetadata,GeneSetDb,missing,missing-method featureIdType featureIdType,GeneSetDb-method featureIdType<- featureIdType<-,GeneSetDb-method geneSetURL geneSetURL,GeneSetDb-method geneSetURL,SparrowResult-method
Combines two GeneSetDb objects togethercombine,GeneSetDb,GeneSetDb-method
Combines two SparrowResult objects together.combine,SparrowResult,SparrowResult-method
(Re)-map geneset IDs to the rows in an expression object.conform conform,GeneSetDb-method is.conformed unconform unconform,GeneSetDb-method
Convert a GeneSetDb to other formats.as.data.frame as.data.frame.GeneSetDb as.data.table as.data.table.GeneSetDb as.list conversion
Converts internal feature identifiers in a GeneSetDb to a set of new ones.convertIdentifiers convertIdentifiers,BiocSet-method convertIdentifiers,GeneSetDb-method
Plots the correlation among the columns of a numeric matrix.corplot
Single sample gene set score by a weighted average of the genes in geneseteigenWeightedMean
Converts collection,name combination to key for genesetencode_gskey split_gskey
Functions that load data for use in examples and testing.exampleBiocSet exampleDgeResult exampleExpressionSet exampleGeneSetDb exampleGeneSetDF exampleGeneSets exampleSparrowResult
Utility function to try and fail with grace.failWith
Fetch the featureIdMap for a 'GeneSetDb'featureIdMap featureIdMap,GeneSetDb-method
Returns the relevant featureIds for a given geneset.featureIds featureIds,GeneSetDb-method featureIds,SparrowResult-method
Fetches information for a gene setgeneSet geneSet,GeneSetDb-method geneSet,SparrowResult-method
Get/set the gene set collection url function for a geneset collectiongeneSetCollectionURLfunction geneSetCollectionURLfunction,GeneSetDb-method geneSetCollectionURLfunction,SparrowResult-method geneSetCollectionURLfunction<- geneSetCollectionURLfunction<-,GeneSetDb-method
Fetches the GeneSetDb from SparrowResultgeneSetDb
A container for geneset definitions..GeneSetDb GeneSetDb GeneSetDb-class
Fetch the active (or all) gene sets from a GeneSetDb or SparrowResultgeneSets geneSets,GeneSetDb-method geneSets,SparrowResult-method length,GeneSetDb-method nrow,GeneSetDb-method
Summarizes useful statistics per gene set from a SparrowResultgeneSetsStats
Summarize geneset:feature relationships for specified set of featuresgeneSetSummaryByGenes geneSetSummaryByGenes,GeneSetDb-method geneSetSummaryByGenes,SparrowResult-method
Retrieves the KEGG gene set collection via its REST APIgetKeggCollection getKeggGeneSetDb
Fetches gene set collections from the moleular signature database (MSigDB)getMSigCollection getMSigGeneSetDb
Get pathways/GOslim collections from PANTHER.db Biocondcutor package.getPantherCollection getPantherGeneSetDb
Retrieve gene set collections from from reactome.dbgetReactomeCollection getReactomeGeneSetDb
Perform goseq Enrichment tests across a GeneSetDb.goseq
Single sample geneset score using SVD based eigengene value per sample.gsdScore
Check to see if the GeneSetDb has a collection,name GeneSet definedhasGeneSet
Check if a collection exists in the 'GeneSetDb'hasGeneSetCollection
Creates a 1/0 matrix to indicate geneset membership to target object.incidenceMatrix
Visualize gene level behavior of genes within a geneset across a contrast.iplot
Interrogate "active" status of a given geneset.is.active
Extract the individual fold changes statistics for elements in the expression object.logFC
Creates a "geneset smart" ComplexHeatmap::Heatmapmgheatmap
Creates a "geneset smart" ComplexHeatmap::Heatmapmgheatmap2
Utility function to cat a message to stderr (by default)msg
Performs an overrepresentation analysis, (optionally) accounting for bias.ora plot_ora_bias
Assembles a matrix of nominal or adjusted pvalues from a sparrow::seas resultp.matrix
Generates a fake GeneSetDb by sampling from features in a seas input.randomGeneSetDb
Rename the collections in a GeneSetDbrenameCollections
Smartly/easily rename the rows of an object.renameRows
Interrogate the results of a sparrow::seas analysis stored in a SparrowResultresult result.SparrowResult resultNames results tabulateResults
Centers and scales the rows of a numeric matrix.scale_rows
Generates single sample gene set scores across a datasets by many methodsscoreSingleSamples
Performs a plethora of set enrichment analyses over varied inputs.seas
Lists the supported GSEA methods by sparrowsparrow_methods
A SparrowResult object holds the results from a sparrow::seas() call..SparrowResult SparrowResult SparrowResult-class
Match a species query to the regularized species info.species_info
Normalize a vector of ssGSEA scores in the ssGSEA way.ssGSEA.normalize
Subset GeneSetDb to only include specified genesets.subset.GeneSetDb
Subset a GeneSetDb to only include geneSets with specified features.subsetByFeatures subsetByFeatures,GeneSetDb-method
Validate the input objects to a GSEA call.validateInputs
Create an interactive volcano plotvolcanoPlot
Extracts x and y axis values from objects to create input for volcano plotvolcanoStatsTable
Calculate single sample geneset score by average z-score methodzScore