convertToPagoda2: Convert Conos object to Pagoda2 object

Description Usage Arguments Value Examples

Description

Convert Conos object to Pagoda2 object

Usage

1
convertToPagoda2(con, n.pcs = 100, n.odgenes = 2000, verbose = TRUE, ...)

Arguments

con

Conos object

n.pcs

numeric Number of principal components (default=100)

n.odgenes

numeric Number of overdispersed genes (default=2000)

verbose

boolean Whether to give verbose output (default=TRUE)

...

parameters passed to Pagoda2$new()

Value

pagoda2 object

Examples

1
2
3
4
5
6
 
library(pagoda2)
panel.preprocessed <- lapply(conosPanel::panel, basicP2proc, n.cores=1, min.cells.per.gene=0, 
    n.odgenes=2e3, get.largevis=FALSE, make.geneknn=FALSE)
con <- Conos$new(panel.preprocessed, n.cores=1)
p2object <- convertToPagoda2(con)

conos documentation built on Feb. 23, 2021, 9:06 a.m.