Skip to content

Commit

Permalink
Initial commit
Browse files Browse the repository at this point in the history
  • Loading branch information
Liuy12 committed Apr 7, 2023
0 parents commit a3a9f2e
Show file tree
Hide file tree
Showing 107 changed files with 58,284 additions and 0 deletions.
7 changes: 7 additions & 0 deletions .Rbuildignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
^.*\.Rproj$
^\.Rproj\.user$
^LICENSE\.md$
^_pkgdown\.yml$
^docs$
^pkgdown$
^\.github$
7 changes: 7 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
docs
inst/doc
.Rproj.user
.Rhistory
.Rdata
.httr-oauth
.DS_Store
47 changes: 47 additions & 0 deletions DESCRIPTION
Original file line number Diff line number Diff line change
@@ -0,0 +1,47 @@
Package: SCdeconR
Type: Package
Title: Deconvolution of bulk RNA-seq data using single-cell RNA-seq data as reference
Version: 0.99.0
Authors@R: person("Yuanhang", "Liu", email = "[email protected]", role = c("aut", "cre"))
Description: Streamlined workflow from deconvolution of bulk RNA-seq data to downstream differential expression and gene-set enrichment analysis. Provide various visualization functions.
License: GPL (>= 3)
URL: https://github.com/Liuy12/SCdeconR/,
https://liuy12.github.io/SCdeconR/
Encoding: UTF-8
LazyData: true
RoxygenNote: 7.2.3
Imports:
data.table,
doFuture,
dplyr,
edgeR,
foreach,
future,
ggplot2,
gtools,
harmony,
MASS,
Matrix,
NMF,
Seurat
Suggests:
DESeq2,
FARDEEP,
knitr,
limma,
Linnorm,
MuSiC,
nnls,
plotly,
preprocessCore,
reticulate,
rmarkdown,
scater,
SCDC,
scran,
SingleCellExperiment,
spacexr,
xbioc
Depends:
R (>= 2.10)
VignetteBuilder: knitr
595 changes: 595 additions & 0 deletions LICENSE.md

Large diffs are not rendered by default.

31 changes: 31 additions & 0 deletions NAMESPACE
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
# Generated by roxygen2: do not edit by hand

export(bulk_generator)
export(celltype_expression)
export(comparedeg_scatter)
export(comparegsea_scatter)
export(compute_metrics)
export(construct_ref)
export(gsea_heatmap)
export(gsea_rwplot)
export(gsea_sumplot)
export(load_scdata)
export(prepare_rnk)
export(prop_barplot)
export(read_gmt)
export(reformat_gmt)
export(run_de)
export(scaling)
export(scdecon)
export(transformation)
export(write_gmt)
importFrom(MASS,rlm)
importFrom(Matrix,colSums)
importFrom(Matrix,rowMeans)
importFrom(Matrix,rowSums)
importFrom(NMF,aheatmap)
importFrom(data.table,fread)
importFrom(data.table,fwrite)
importFrom(gtools,mixedsort)
importFrom(reshape2,dcast)
importFrom(reshape2,melt)
3 changes: 3 additions & 0 deletions NEWS.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# SCdeconR 0.99.0

* Pre-release version
16 changes: 16 additions & 0 deletions R/SCdeconR-package.R
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
#' @keywords internal
"_PACKAGE"

## usethis namespace: start
#' @importFrom MASS rlm
#' @importFrom Matrix rowMeans
#' @importFrom Matrix rowSums
#' @importFrom Matrix colSums
#' @importFrom NMF aheatmap
#' @importFrom data.table fread
#' @importFrom data.table fwrite
#' @importFrom gtools mixedsort
#' @importFrom reshape2 dcast
#' @importFrom reshape2 melt
## usethis namespace: end
NULL
18 changes: 18 additions & 0 deletions R/data.R
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
#' Integrated scRNA-seq reference for breast tissue (subset)
#'
#' Integrated scRNA-seq reference using random subset of two scRNA-seq datasets for breast tissue. One sample is from Komen tissue bank.
#' The other sample is from Gtex snRNA-seq data.
#'
#' @format `refdata`
#' a \code{\link[Seurat]{Seurat-class}} object with several metadata included:
#' \describe{
#' \item{cellid}{cell barcodes}
#' \item{celltypes}{annotated cell types}
#' \item{subjectid}{subject id}
#' \item{cohort}{data cohort, either "komentissuebank" or "gtex"}
#' }
#'
#' @source
#' <https://gtexportal.org/home/singleCellOverviewPage>
#' <A single-cell atlas of the healthy breast tissues reveals clinically relevant clusters of breast epithelial cells>
"refdata"
365 changes: 365 additions & 0 deletions R/deconvolution.R

Large diffs are not rendered by default.

Loading

0 comments on commit a3a9f2e

Please sign in to comment.