Summary of the output objects of scTensor

Here, we introduced the objects saved in reanalysis.RData.

library("scTensor")
load("reanalysis.RData")

After performing cellCellReport, some R objects are saved in the reanalysis.RData as follows;

Execution of scTensor with the different options

Using the reanalysis.RData, some users may want to perform r Biocpkg("scTensor") with different parameters.

For example, some users want to perform cellCellDecomp with different ranks, perform cellCellReport with omitting some enrichment analysis, provide the results to their collaborators.

To do such tasks, just type like belows.

library("AnnotationHub")
library("LRBaseDbi")

# Create LRBase object
ah <- AnnotationHub()
dbfile <- query(ah, c("LRBaseDb", "Homo sapiens", "v002"))[[1]]
LRBase.Hsa.eg.db <- LRBaseDbi::LRBaseDb(dbfile)

# Register the file pass of user's LRBase
metadata(sce)$lrbase <- dbfile(LRBase.Hsa.eg.db)

# CCI Tensor Decomposition
cellCellDecomp(sce, ranks=c(6,5), assayNames="normcounts")

# HTML Report
cellCellReport(sce, reducedDimNames="TSNE", assayNames="normcounts",
    title="Cell-cell interaction within Germline_Male, GSE86146",
    author="Koki Tsuyuzaki", html.open=TRUE,
    goenrich=TRUE, meshenrich=FALSE, reactomeenrich=FALSE,
    doenrich=FALSE, ncgenrich=FALSE, dgnenrich=FALSE)

Session information {.unnumbered}

sessionInfo()


rikenbit/scTensor documentation built on Jan. 28, 2023, noon