-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
52 changed files
with
2,612 additions
and
2,476 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -40,3 +40,4 @@ cinaR.Rproj | |
inst/doc | ||
|
||
pkgdown | ||
docs |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,13 @@ | ||
Package: cinaR | ||
Type: Package | ||
Title: A Computational Pipeline for Bulk 'ATAC-Seq' Profiles | ||
Version: 0.2.3 | ||
Version: 0.2.4 | ||
Authors@R: | ||
c(person(given = "Onur", | ||
family = "Karakaslar", | ||
role = c("aut", "cre"), | ||
email = "[email protected]"), | ||
email = "[email protected]", | ||
comment = c(ORCID = "0000-0002-9182-910X")), | ||
person(given = "Duygu", | ||
family = "Ucar", | ||
role = "aut", | ||
|
@@ -23,15 +24,12 @@ URL: https://github.com/eonurk/cinaR/ | |
BugReports: https://github.com/eonurk/cinaR/issues/ | ||
biocViews: | ||
Depends: R (>= 4.0.0) | ||
Imports: ChIPseeker, | ||
Imports: BiocManager, | ||
DESeq2, | ||
dplyr, | ||
edgeR, | ||
fgsea, | ||
GenomicRanges, | ||
TxDb.Hsapiens.UCSC.hg38.knownGene, | ||
TxDb.Hsapiens.UCSC.hg19.knownGene, | ||
TxDb.Mmusculus.UCSC.mm10.knownGene, | ||
ggplot2, | ||
ggrepel, | ||
grDevices, | ||
|
@@ -42,9 +40,12 @@ Imports: ChIPseeker, | |
RColorBrewer, | ||
sva, | ||
writexl | ||
RoxygenNote: 7.1.2 | ||
Suggests: | ||
knitr, | ||
rmarkdown, | ||
markdown | ||
RoxygenNote: 7.2.3 | ||
Suggests: ChIPseeker, | ||
knitr, | ||
rmarkdown, | ||
markdown, | ||
TxDb.Hsapiens.UCSC.hg38.knownGene, | ||
TxDb.Hsapiens.UCSC.hg19.knownGene, | ||
TxDb.Mmusculus.UCSC.mm10.knownGene | ||
VignetteBuilder: knitr, rmarkdown, markdown |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
#' @importFrom utils install.packages installed.packages | ||
#' @importFrom BiocManager install | ||
NULL | ||
|
||
# Function to check and install missing Bioconductor dependencies | ||
check_and_install_bioc_dependencies <- function() { | ||
missing_pkgs <- c("ChIPseeker", "TxDb.Hsapiens.UCSC.hg38.knownGene", | ||
"TxDb.Hsapiens.UCSC.hg19.knownGene", | ||
"TxDb.Mmusculus.UCSC.mm10.knownGene") | ||
installed <- utils::installed.packages()[, "Package"] | ||
missing <- missing_pkgs[!(missing_pkgs %in% installed)] | ||
|
||
if (length(missing)) { | ||
message("Installing missing Bioconductor packages: ", paste(missing, collapse = ", ")) | ||
if (!requireNamespace("BiocManager", quietly = TRUE)) { | ||
utils::install.packages("BiocManager") | ||
} | ||
BiocManager::install(missing) | ||
} else { | ||
message("All required Bioconductor packages are already installed.") | ||
} | ||
} | ||
|
||
.onAttach <- function(libname, pkgname) { | ||
packageStartupMessage("To ensure all required Bioconductor packages are installed, run: check_and_install_bioc_dependencies()") | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,8 @@ | ||
destination: docs | ||
url: ~ | ||
template: | ||
params: | ||
bootswatch: sandstone | ||
ganalytics: UA-116646865-1 | ||
|
||
bootstrap: 5 | ||
bslib: | ||
base_font: {google: "Open Sans"} | ||
authors: | ||
Onur Karakaslar: | ||
href: http://eonurk.github.io |
Oops, something went wrong.