Skip to content

Commit

Permalink
add scripts and readme
Browse files Browse the repository at this point in the history
  • Loading branch information
debsin committed Aug 30, 2019
1 parent 4cd383b commit 6297aea
Show file tree
Hide file tree
Showing 26 changed files with 11 additions and 1,852 deletions.
2 changes: 2 additions & 0 deletions .Rbuildignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@
^CRAN-RELEASE$
^Meta$
^doc$
^scripts$
^comparisons$
^LICENSE\.md$
^.*\.Rproj$
^\.Rproj\.user$
10 changes: 9 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ dropClust Online
- [Differential gene analysis](#find-cluster-specific-differentially-expressed-genes)
- [Plot marker genes](#plot-hand-picked-marker-genes)
- [Draw heatmap](#draw-heatmap)
- [Integrative Analysis](#integrative-analysis)



Expand Down Expand Up @@ -148,6 +149,8 @@ plot_data = data.frame("Y1" = reducedDim(sce,"umap")[,1], Y2 = reducedDim(sce, "
ScatterPlot(plot_data,title = "Clusters")
```

![](doc/vignette_files/figure-gfm/unnamed-chunk-9-1.png)<!-- -->

Find cluster specific Differentially Expressed genes
----------------------------------------------------

Expand All @@ -171,6 +174,8 @@ marker_genes = c("S100A8", "GNLY", "PF4")

p<-PlotMarkers(sce, marker_genes)
```
![](doc/vignette_files/figure-gfm/unnamed-chunk-11-1.png)<!-- -->



Heat map of top DE genes from each cluster
Expand All @@ -182,6 +187,7 @@ p<-PlotHeatmap(sce, DE_res = DE_genes_all$DE_res,nDE = 10)

print(p)
```
![](doc/vignette_files/figure-gfm/unnamed-chunk-12-1.png)<!-- -->


Integrative analysis
Expand Down Expand Up @@ -238,7 +244,9 @@ ScatterPlot(dc.corr, title = "Clusters")
![Batch corrected dropClust based
Clustering.](doc/batchCorrection_files/figure-gfm/unnamed-chunk-5-1.png)

### Optional Batch correction Users can use `fastmnn` method for batchcorrection. Specific arguments of fastmnn can also be passed through the `Correction` module.
## Optional Batch correction

Users can use `fastmnn` method for batchcorrection. Specific arguments of fastmnn can also be passed through the `Correction` module.

``` r
merged_data.fastmnn<-Merge(all.objects,use.de.genes = FALSE)
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
54 changes: 0 additions & 54 deletions doc/batchCorrection.R

This file was deleted.

87 changes: 0 additions & 87 deletions doc/batchCorrection.Rmd

This file was deleted.

Loading

0 comments on commit 6297aea

Please sign in to comment.