| p2ViewPagodaApp | R Documentation |
Modified 'PAGODA1' app (from 'SCDE') for browsing 'pagoda2' results. Refer to 'ViewPagodaAppOld' and 'make.pagoda.app()' in 'SCDE'
resultsResult object returned by scde.expression.difference() (default=NULL). Note to browse group posterior levels, use return.posteriors = TRUE in the scde.expression.difference() call.
typeEither 'counts' or a name of a 'reduction' in the 'Pagoda2' object
genesList of genes to display in the Detailed clustering panel (default=list())
batchAny batch or other known confounders to be included in the visualization as a column color track (default=NULL)
pathwayscharacter vector Pathway or gene names (default=NULL)
nameApp name (needs to be altered only if adding more than one app to the server using the 'server' parameter) (default=NULL)
trimTrim quantity used for Winsorization for visualization
embeddingEmbedding information (default=NULL)
veloinfoVelocity information (default=NULL)
goenvenvironment mapping pathways to genes (default=NULL)
renvGlobal environment (default=NULL)
new()Initialize p2ViewPagodaApp class
p2ViewPagodaApp$new( results, pathways, genes, goenv, batch = NULL, name = "pathway overdispersion", trim = 1.1/nrow(p2$counts), embedding = NULL, type, veloinfo = NULL )
resultsResult object returned by scde.expression.difference(). Note to browse group posterior levels, use return.posteriors = TRUE in the scde.expression.difference() call.
pathwayscharacter vector Pathway or gene names (default=NULL)
geneslist Genes to display in the Detailed clustering panel (default=list())
goenvEnvironment mapping pathways to genes (default=NULL)
batchAny batch or other known confounders to be included in the visualization as a column color track (default=NULL)
namestring App name (needs to be altered only if adding more than one app to the server using the 'server' parameter) (default="pathway overdispersion")
trimnumeric Trim quantity used for Winsorization for visualization (default=1.1/nrow(p2$counts) whereby the 'counts' from the 'Pagoda2' object is the gene count matrix, normalized on total counts (default=NULL)
embeddingEmbedding information (default=NULL)
typeEither 'counts' or a name of a 'reduction' in the 'pagoda2' object
veloinfoVelocity information (default=NULL)
new 'p2ViewPagodaApp' object
getgenecldata()Helper function to get the heatmap data for a given set of genes
p2ViewPagodaApp$getgenecldata(genes = NULL, gcl = NULL, ltrim = 0)
genescharacter vector Gene names (default=NULL)
gclpathway or gene-weighted PCA (default=NULL). If NULL, uses tp2c.view.pathways(self$genes, self$results$p2, goenv=goenv, vhc=self$results$hvc, plot=FALSE, trim=ltrim, n.genes=Inf).
ltrimnumeric Winsorization trim that should be applied (default=0)
heatmap data for a given set of genes
call()Call Rook application. Using client-side ExtJS framework and Inchlib HTML5 canvas libraries to create the graphical user interface for PAGODA
p2ViewPagodaApp$call(env)
envThe environment argument is a true R environment object which the application is free to modify. Please see the Rook documentation for more details.
modified 'PAGODA1' app
clone()The objects of this class are cloneable with this method.
p2ViewPagodaApp$clone(deep = FALSE)
deepWhether to make a deep clone.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.