Skip to content

Commit

Permalink
v-0.99.10
Browse files Browse the repository at this point in the history
  • Loading branch information
kokitsuyuzaki committed Nov 6, 2018
1 parent f586680 commit 73e671a
Show file tree
Hide file tree
Showing 4 changed files with 26 additions and 10 deletions.
2 changes: 1 addition & 1 deletion DESCRIPTION
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
Package: scTensor
Type: Package
Title: Detection of cell-cell interaction within single-cell RNA-Seq data
Version: 0.99.9
Version: 0.99.10
Date: 2018-09-25
Authors@R: person("Koki", "Tsuyuzaki", role = c("aut", "cre"), email = "k.t.the-answer@hotmail.co.jp")
Depends: R (>= 3.5.0)
Expand Down
4 changes: 4 additions & 0 deletions inst/NEWS
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
VERSION 0.99.10
------------------------
o Revised and modified some parts

VERSION 0.99.9
------------------------
o Revised and modified some parts
Expand Down
19 changes: 18 additions & 1 deletion man/cellCellReport.Rd
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,24 @@ The result is saved as HTML report which contains with multiple files.
\author{Koki Tsuyuzaki}

\examples{
showMethods("cellCellReport")
if(interactive()){
library("SingleCellExperiment")
library("LRBase.Hsa.eg.db")
library("MeSH.Hsa.eg.db")
source("scTensor/R/scTensor-internal.R")

data(GermMale)
data(labelGermMale)
data(tsneGermMale)
sce <- SingleCellExperiment(assays=list(counts = GermMale))
reducedDims(sce) <- SimpleList(TSNE=tsneGermMale$Y)
cellCellSetting(sce, LRBase.Hsa.eg.db, labelGermMale, names(labelGermMale))
rks <- cellCellRanks(sce)
cellCellDecomp(sce, ranks=rks$selected)
cellCellReport(sce, reducedDimNames="TSNE",
title="Cell-cell interaction within Germline_Male, GSE86146",
author="Koki Tsuyuzaki", thr=15, html.open=TRUE)
}
}

\keyword{methods}
11 changes: 3 additions & 8 deletions vignettes/scTensor.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -321,14 +321,9 @@ rks$selected
### HTML Report : cellCellReport

If `cellCellDecomp` is properly finished, we can perform `cellCellReport`
function to output the HTML report like belows.

```{r cellCellReport, echo=TRUE}
cellCellReport(sce, reducedDimNames="TSNE",
title="Cell-cell interaction within Germline_Male, GSE86146",
author="Koki Tsuyuzaki", thr=5, top=2, html.open=FALSE)
```

function to output the HTML report like belows. Please type
`example(cellCellReport)` and the report will be generated in the temporary
directory (it costs 5 to 10 minutes).
After `cellCellReport`, multiple R markdown files, compiled HTML files,
figures, and R binary file containing the result of analysis are saved to
`out.dir` (Figure 2). For more details, open the `index.html` by your web
Expand Down

0 comments on commit 73e671a

Please sign in to comment.