Closed tiagochst closed 3 years ago
Hi @tiagochst
Thanks for submitting your package. We are taking a quick look at it and you will hear back from us soon.
The DESCRIPTION file for this package is:
Package: MethReg
Type: Package
Title: Assessing the regulatory potential of DNA methylation regions or sites on gene transcription
Version: 0.1.0
Authors@R: c(
person("Tiago", "Silva", email = "tiagochst@gmail.com", role = c("aut", "cre"),
comment = c(ORCID = "0000-0003-1343-6850")),
person("Lily", "Wang", email = "lily.wang@gmail.com", role = c("aut"))
)
Maintainer: Tiago Chedraoui Silva <tiagochst@gmail.com>
Description: MethReg evaluates, annotates and prioritizes DNA methylation regions
(or sites) with high regulatory potential, which work synergistically with transcription
factors to regulate target gene expressions, without any additional ChIP-seq data.
License: GPL-3
Encoding: UTF-8
LazyData: true
Imports:
dplyr,
plyr,
GenomicRanges,
SummarizedExperiment,
DelayedArray,
ggplot2,
ggpubr,
tibble,
tidyr,
S4Vectors,
sesameData,
stringr,
readr,
knitr,
methods,
stats,
Matrix,
MASS,
rlang,
pscl,
IRanges,
sfsmisc,
progress
Suggests:
rmarkdown,
testthat (>= 2.1.0),
parallel,
downloader,
R.utils,
dbplyr,
RSQLite,
DBI,
doParallel,
reshape2,
prettydoc,
JASPAR2020,
TFBSTools,
motifmatchr,
matrixStats,
biomaRt,
dorothea,
viper
VignetteBuilder: knitr
RoxygenNote: 7.1.1
Depends:
R (>= 4.0)
biocViews:
MethylationArray,
Regression,
GeneExpression,
Epigenetics,
GeneTarget,
Transcription
I fixed the version from 0.1.0 to 0.99.0.
The package needs to be available on the 'master' branch. Please ensure that BiocCheck::BiocCheck() passes without error or warning. Please post a comment here when your package satisfies these basic requirements.
Hi Martin,
I fixed it.
Here is the BiocCheck::BiocCheck().
@mtmorgan Please, do I need to do something else ?
A reviewer has been assigned to your package. Learn what to expect during the review process.
IMPORTANT: Please read this documentation for setting up remotes to push to git.bioconductor.org. It is required to push a version bump to git.bioconductor.org to trigger a new build.
Bioconductor utilized your github ssh-keys for git.bioconductor.org access. To manage keys and future access you may want to active your Bioconductor Git Credentials Account
Received a valid push on git.bioconductor.org; starting a build for commit id: ee3ad0e28d056bb7cebdf87b126ae5817f898ece
Dear Package contributor,
This is the automated single package builder at bioconductor.org.
Your package has been built on Linux, Mac, and Windows.
On one or more platforms, the build results were: "ERROR". This may mean there is a problem with the package that you need to fix. Or it may mean that there is a problem with the build system itself.
Please see the build report for more details. This link will be active for 21 days.
Remember: if you submitted your package after July 7th, 2020,
when making changes to your repository push to
git@git.bioconductor.org:packages/MethReg
to trigger a new build.
A quick tutorial for setting up remotes and pushing to upstream can be found here.
Received a valid push on git.bioconductor.org; starting a build for commit id: 89ce56346ef5dd0e9aac6ec955eabdc6a036aba0
Dear Package contributor,
This is the automated single package builder at bioconductor.org.
Your package has been built on Linux, Mac, and Windows.
Congratulations! The package built without errors or warnings on all platforms.
Please see the build report for more details. This link will be active for 21 days.
Remember: if you submitted your package after July 7th, 2020,
when making changes to your repository push to
git@git.bioconductor.org:packages/MethReg
to trigger a new build.
A quick tutorial for setting up remotes and pushing to upstream can be found here.
Dear Package contributor,
This is the automated single package builder at bioconductor.org.
Your package has been built on Linux, Mac, and Windows.
On one or more platforms, the build results were: "WARNINGS, ERROR, skipped". This may mean there is a problem with the package that you need to fix. Or it may mean that there is a problem with the build system itself.
Please see the build report for more details. This link will be active for 21 days.
Remember: if you submitted your package after July 7th, 2020,
when making changes to your repository push to
git@git.bioconductor.org:packages/MethReg
to trigger a new build.
A quick tutorial for setting up remotes and pushing to upstream can be found here.
Received a valid push on git.bioconductor.org; starting a build for commit id: 93b288a1bb5de64b8f814af59399290e7e799fe4
Dear Package contributor,
This is the automated single package builder at bioconductor.org.
Your package has been built on Linux, Mac, and Windows.
On one or more platforms, the build results were: "WARNINGS". This may mean there is a problem with the package that you need to fix. Or it may mean that there is a problem with the build system itself.
Please see the build report for more details. This link will be active for 21 days.
Remember: if you submitted your package after July 7th, 2020,
when making changes to your repository push to
git@git.bioconductor.org:packages/MethReg
to trigger a new build.
A quick tutorial for setting up remotes and pushing to upstream can be found here.
Received a valid push on git.bioconductor.org; starting a build for commit id: 2f7f0b02504651a1efdb8f4ba1d02b6ca763e246
Dear Package contributor,
This is the automated single package builder at bioconductor.org.
Your package has been built on Linux, Mac, and Windows.
On one or more platforms, the build results were: "WARNINGS, ERROR". This may mean there is a problem with the package that you need to fix. Or it may mean that there is a problem with the build system itself.
Please see the build report for more details. This link will be active for 21 days.
Remember: if you submitted your package after July 7th, 2020,
when making changes to your repository push to
git@git.bioconductor.org:packages/MethReg
to trigger a new build.
A quick tutorial for setting up remotes and pushing to upstream can be found here.
Received a valid push on git.bioconductor.org; starting a build for commit id: db5e5fd6e875bd344b4ef181d8c11cfb046714ed
Dear Package contributor,
This is the automated single package builder at bioconductor.org.
Your package has been built on Linux, Mac, and Windows.
On one or more platforms, the build results were: "ERROR". This may mean there is a problem with the package that you need to fix. Or it may mean that there is a problem with the build system itself.
Please see the build report for more details. This link will be active for 21 days.
Remember: if you submitted your package after July 7th, 2020,
when making changes to your repository push to
git@git.bioconductor.org:packages/MethReg
to trigger a new build.
A quick tutorial for setting up remotes and pushing to upstream can be found here.
Received a valid push on git.bioconductor.org; starting a build for commit id: 4c3dbb4fb727e68b6bce8b77ef47dca8bbf6f185
Dear Package contributor,
This is the automated single package builder at bioconductor.org.
Your package has been built on Linux, Mac, and Windows.
Congratulations! The package built without errors or warnings on all platforms.
Please see the build report for more details. This link will be active for 21 days.
Remember: if you submitted your package after July 7th, 2020,
when making changes to your repository push to
git@git.bioconductor.org:packages/MethReg
to trigger a new build.
A quick tutorial for setting up remotes and pushing to upstream can be found here.
Hi Tiago, @tiagochst
Thank you for your submission to Bioconductor. Please see the review below.
Best, Marcel
Description:
field.BugReports:
link for issue reporting.GenomicRanges
e.g.,
import(GenomicRanges)
rather than using importFrom
.GitHub
installation instructions.BiocManager
to install the package.library(MethReg)
call in the vignette.get(data(...))
in a user-facing
vignette. data
should return the data instead of a character. Perhaps
use usethis::use_data
.gc()
.coMethDMR
as it is not in Bioconductor or CRAN.file.out
argument in your function. It may be more simple to remove the
argument and include an example in the documentation that shows the user how
to write the data to disk.dontrun{}
in examples. This creates stale code whenever there
is an API change.dontrun
examples are too computationally intense, I would suggest
using a smaller example dataset.min.confidence
argument does not match the documentation in
R/create_triplet_regulon_based.R
BiocFileCache
to avoid re-download of human_tfs
resources.dnam
and others to include SummarizedExperiment
as an option.cRegulome.db.gz
in
R/get_tf_targets_cistrome.R
).R/MethReg.R
should be named rather than
NULL
. See usethis::use_data
.Minor:
if (missing(exp) || is.null(exp))
in R/cor_region_dnam_target_gene.R
.message
function calls in
functions like get_promoter_avg
.BiocManager
instead of GitHub.Received a valid push on git.bioconductor.org; starting a build for commit id: 1421a55e8d91b8d9812ff97d2d62fbb0ed2ed17a
Dear Package contributor,
This is the automated single package builder at bioconductor.org.
Your package has been built on Linux, Mac, and Windows.
On one or more platforms, the build results were: "skipped, ERROR". This may mean there is a problem with the package that you need to fix. Or it may mean that there is a problem with the build system itself.
Please see the build report for more details. This link will be active for 21 days.
Remember: if you submitted your package after July 7th, 2020,
when making changes to your repository push to
git@git.bioconductor.org:packages/MethReg
to trigger a new build.
A quick tutorial for setting up remotes and pushing to upstream can be found here.
Received a valid push on git.bioconductor.org; starting a build for commit id: 4df359962e184d4547db98cbc57c9bd28d03e352
Dear Package contributor,
This is the automated single package builder at bioconductor.org.
Your package has been built on Linux, Mac, and Windows.
On one or more platforms, the build results were: "ERROR". This may mean there is a problem with the package that you need to fix. Or it may mean that there is a problem with the build system itself.
Please see the build report for more details. This link will be active for 21 days.
Remember: if you submitted your package after July 7th, 2020,
when making changes to your repository push to
git@git.bioconductor.org:packages/MethReg
to trigger a new build.
A quick tutorial for setting up remotes and pushing to upstream can be found here.
Received a valid push on git.bioconductor.org; starting a build for commit id: 6fe1379e07c7154e9c09eda172ee04f4cd89b775
Dear Package contributor,
This is the automated single package builder at bioconductor.org.
Your package has been built on Linux, Mac, and Windows.
On one or more platforms, the build results were: "WARNINGS". This may mean there is a problem with the package that you need to fix. Or it may mean that there is a problem with the build system itself.
Please see the build report for more details. This link will be active for 21 days.
Remember: if you submitted your package after July 7th, 2020,
when making changes to your repository push to
git@git.bioconductor.org:packages/MethReg
to trigger a new build.
A quick tutorial for setting up remotes and pushing to upstream can be found here.
Received a valid push on git.bioconductor.org; starting a build for commit id: be9b2187657cab4f8a78e7153142adf89ff46a8d
@LiNk-NY I made the updates requested.
I decided to remove get_tf_targets_cistrome.R
since I was using it mainly for analysis in the article and it is not a requirement for the package. I had the function unexported, but I think removing makes more sense.
Those dontrun examples were taking some time to run due to the access of DNA methylation metadata information from the sesame package and there was a 20 min computation time limit from Bioconductor. I reviewed some of the examples and removed some dontrun examples.
For the function names here are some changes:
filter_genes_by_quantile_mean_fold_change -> filter_exp_by_quant_mean_FC
filter_regions_by_quantile_difference -> filter_dnam_by_quant_diff
make_se_from_dnam_probes ->make_dnam_se
make_se_from_gene_matrix -> make_exp_se
The other requirements were fixed.
Received a valid push on git.bioconductor.org; starting a build for commit id: 1dbbc02e843593fc90e456f2c4319fea8e86950f
Dear Package contributor,
This is the automated single package builder at bioconductor.org.
Your package has been built on Linux, Mac, and Windows.
On one or more platforms, the build results were: "WARNINGS". This may mean there is a problem with the package that you need to fix. Or it may mean that there is a problem with the build system itself.
Please see the build report for more details. This link will be active for 21 days.
Remember: if you submitted your package after July 7th, 2020,
when making changes to your repository push to
git@git.bioconductor.org:packages/MethReg
to trigger a new build.
A quick tutorial for setting up remotes and pushing to upstream can be found here.
Hi Tiago, @tiagochst
Thanks for making those changes. Can you please respond to the review line by line?
Best, Marcel
Received a valid push on git.bioconductor.org; starting a build for commit id: 74b21486bb14b17ca45dbff279e870cde85f159e
@LiNk-NY Thanks for the extensive review! Below are the answers to each point.
- Add more details to the Description: field.
The description was modified from:
MethReg evaluates, annotated, and prioritizes DNA methylation regions (or sites) with high regulatory potential, which work synergistically with transcription factors to regulate target gene expressions, without any additional ChIP-seq data.
To:
Epigenome-wide association studies (EWAS) detects a large number of DNA methylation differences, often hundreds of differentially methylated regions and thousands of CpGs, that are significantly associated with a disease, many are located in non-coding regions. Therefore, there is a critical need to better understand the functional impact of these CpG methylations and to further prioritize the significant changes. MethReg is an R package for integrative modeling of DNA methylation, target gene expression and transcription factor binding sites data, to systematically identify and rank functional CpG methylations. MethReg evaluates, prioritizes and annotates CpG sites with high regulatory potential using matched methylation and gene expression data, along with external TF-target interaction databases based on manually curation, ChIP-seq experiments or gene regulatory network analysis.
- Add a BugReports: link for issue reporting.
BugReports was added: https://github.com/TransBioInfoLab/MethReg/issues/
If possible, shorten function names.
For the function names here are some changes:
filter_genes_by_quantile_mean_fold_change
-> filter_exp_by_quant_mean_FC
filter_regions_by_quantile_difference
-> filter_dnam_by_quant_diff
make_se_from_dnam_probes
->make_dnam_se
make_se_from_gene_matrix
-> make_exp_se
You may want to import the entirety of GenomicRanges e.g., import(GenomicRanges) rather than using importFrom.
I imported GenomicRanges, but there was a warning of masked functions because I was importing dplyr. So I importedFrom dplyr instead of importing all its functions. However, importedFrom GenomicRanges was a easier solution, since dplyr functions were extensively used in the package.
Remove the GitHub installation instructions.
Removed.
Show how to use BiocManager to install the package.
MethReg
is a Bioconductor package and can be installed through BiocManager::install()
.
if (!"BiocManager" %in% rownames(installed.packages()))
install.packages("BiocManager")
BiocManager::install("MethReg", dependencies = TRUE)
Remove the repeated library(MethReg) call in the vignette.
Removed.
Avoid awkward constructions such as get(data(...)) in a user-facing vignette. data should return the data instead of a character. Perhaps use usethis::use_data.
I normally use get(data(...)) when I need the object with another name instead of the default. But in this case it was not necessary.
object <- get(data(...))
was changed to data(...)
only.
Observe the 80 character width limit. It makes text easier to read and even maintain.
I reduced as much as a could the width of the lines.
You don't need to remove the data object from memory with gc().
Removed.
Remove any code for coMethDMR as it is not in Bioconductor or CRAN. R
All the coMethDMR code was removed.
It is possible for the user to save a file themselves without the need of the file.out argument in your function. It may be more simple to remove the argument and include an example in the documentation that shows the user how to write the data to disk.
This option was removed https://github.com/TransBioInfoLab/MethReg/blob/master/R/cor_region_dnam_target_gene.R#L51-L58
Avoid using dontrun{} in examples. This creates stale code whenever there is an API change. If the dontrun examples are too computationally intense, I would suggest using a smaller example dataset.
Don't run examples were removed for the majority of the functions.
The min.confidence argument does not match the documentation in R/create_triplet_regulon_based.R
Thanks for catching this problem. Now the documentations have the same argument description: https://github.com/TransBioInfoLab/MethReg/blob/master/R/create_triplet_regulon_based.R#L12-L15 https://github.com/TransBioInfoLab/MethReg/blob/master/R/regulons.R#L32-L34
Use caching such as BiocFileCache to avoid re-download of human_tfs resources.
BiocFileCache was used for caching: https://github.com/TransBioInfoLab/MethReg/blob/master/R/get_human_tfs.R#L26-L44
Update documentation for dnam and others to include SummarizedExperiment as an option.
Thanks for noticing this problem. I added SummarizedExperiment as an option of input for the DNA methylation and gene expression input.
Avoid downloading files from an Amazon bucket. It is recommended that you obtain it from the official source or from ExperimentHub so that other users/developers can make use of the data (cRegulome.db.gz in R/get_tf_targets_cistrome.R).
This function was removed. https://github.com/TransBioInfoLab/MethReg/commit/a21dc6e5693dc7732de1d98f8c620afd8f1882a2
I think the documented data in R/MethReg.R should be named rather than NULL. See usethis::use_data.
All datasets were named rathen than NULL. https://github.com/TransBioInfoLab/MethReg/blob/master/R/MethReg.R
Minor: Reduce repetitive code by combining logical tests, for example, if (missing(exp) || is.null(exp)) in R/cor_region_dnam_target_gene.R.
Thanks for the suggestion. I changed it in some of the functions.
Allow users to turn off the verbosity from message function calls in functions like get_promoter_avg.
I added the verbose argument to the following functions:
cor_tf_target_gene
, get_promoter_avg
,interaction_model
, make_dnam_se
, make_exp_se
This will silence the messages output from the function.
- Remove or update any commented code.
Commented code was removed
- Looks good.
Thanks!
Update installation instructions to use BiocManager instead of GitHub.
The installation instructions were updated to:
You can install the MethReg from Bioconductor with: BiocManager::install("MethReg")
Dear Package contributor,
This is the automated single package builder at bioconductor.org.
Your package has been built on Linux, Mac, and Windows.
On one or more platforms, the build results were: "ERROR". This may mean there is a problem with the package that you need to fix. Or it may mean that there is a problem with the build system itself.
Please see the build report for more details. This link will be active for 21 days.
Remember: if you submitted your package after July 7th, 2020,
when making changes to your repository push to
git@git.bioconductor.org:packages/MethReg
to trigger a new build.
A quick tutorial for setting up remotes and pushing to upstream can be found here.
Received a valid push on git.bioconductor.org; starting a build for commit id: cb18c3254628b9ba32809c4a493f23fcf21edfdb
Dear Package contributor,
This is the automated single package builder at bioconductor.org.
Your package has been built on Linux, Mac, and Windows.
On one or more platforms, the build results were: "WARNINGS". This may mean there is a problem with the package that you need to fix. Or it may mean that there is a problem with the build system itself.
Please see the build report for more details. This link will be active for 21 days.
Remember: if you submitted your package after July 7th, 2020,
when making changes to your repository push to
git@git.bioconductor.org:packages/MethReg
to trigger a new build.
A quick tutorial for setting up remotes and pushing to upstream can be found here.
Thanks for the detailed response. I've had a look at the changes and they look good! Thank you for contributing to Bioconductor. Best regards, Marcel
Your package has been accepted. It will be added to the Bioconductor nightly builds.
Thank you for contributing to Bioconductor!
The master branch of your GitHub repository has been added to Bioconductor's git repository.
To use the git.bioconductor.org repository, we need an 'ssh' key to associate with your github user name. If your GitHub account already has ssh public keys (https://github.com/tiagochst.keys is not empty), then no further steps are required. Otherwise, do the following:
See further instructions at
https://bioconductor.org/developers/how-to/git/
for working with this repository. See especially
https://bioconductor.org/developers/how-to/git/new-package-workflow/ https://bioconductor.org/developers/how-to/git/sync-existing-repositories/
to keep your GitHub and Bioconductor repositories in sync.
Your package will be included in the next nigthly 'devel' build (check-out from git at about 6 pm Eastern; build completion around 2pm Eastern the next day) at
https://bioconductor.org/checkResults/
(Builds sometimes fail, so ensure that the date stamps on the main landing page are consistent with the addition of your package). Once the package builds successfully, you package will be available for download in the 'Devel' version of Bioconductor using BiocManager::install("MethReg")
. The package 'landing page' will be created at
https://bioconductor.org/packages/MethReg
If you have any questions, please contact the bioc-devel mailing list (https://stat.ethz.ch/mailman/listinfo/bioc-devel); this issue will not be monitored further.
Update the following URL to point to the GitHub repository of the package you wish to submit to Bioconductor
Confirm the following by editing each check box to '[x]'
[x] I understand that by submitting my package to Bioconductor, the package source and all review commentary are visible to the general public.
[x] I have read the Bioconductor Package Submission instructions. My package is consistent with the Bioconductor Package Guidelines.
[x] I understand that a minimum requirement for package acceptance is to pass R CMD check and R CMD BiocCheck with no ERROR or WARNINGS. Passing these checks does not result in automatic acceptance. The package will then undergo a formal review and recommendations for acceptance regarding other Bioconductor standards will be addressed.
[x] My package addresses statistical or bioinformatic issues related to the analysis and comprehension of high throughput genomic data.
[x] I am committed to the long-term maintenance of my package. This includes monitoring the support site for issues that users may have, subscribing to the bioc-devel mailing list to stay aware of developments in the Bioconductor community, responding promptly to requests for updates from the Core team in response to changes in R or underlying software.
I am familiar with the essential aspects of Bioconductor software management, including:
For help with submitting your package, please subscribe and post questions to the bioc-devel mailing list.