Bioconductor / Contributions

Contribute Packages to Bioconductor
134 stars 33 forks source link

(inactive) BASiNET #547

Closed EricIto closed 6 years ago

EricIto commented 6 years ago

Confirm the following by editing each check box to '[x]'

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.

bioc-issue-bot commented 6 years ago

Hi @EricIto

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: BASiNET
Title: Classification of mRNA and lncRNA sequences using complex network theory
Version: 0.99.0
Author: Eric Augusto Ito
Maintainer: Eric Augusto Ito <ericaugustoito@hotmail.com>
Description: It makes the creation of networks from sequences of RNA, with this is done the abstraction of characteristics of these networks with a methodology of threshold for the purpose of making a classification between the classes of the sequences.
Depends: R (>= 3.4.1)
License: GPL-3
Encoding: UTF-8
LazyData: true
Imports: igraph, seqinr, RWeka, rmcfs, randomForest, rgl
biocViews: Software, BiologicalQuestion, GenePrediction
RoxygenNote: 6.0.1
Suggests: knitr,
    rmarkdown
VignetteBuilder: knitr
mtmorgan commented 6 years ago

Use Biostrings rather than seqinr. Your vignette must be a full exposition of package use, with fully evaluated R code chunks. Make these changes and submit a brief note indicating what you have done. Your package will then be considered for review.

EricIto commented 6 years ago

I've changed the package as you advised, now I'm using Biostrings with the readBStringSet () function. And I also changed the vignette, now I have detailed more like that using function and parameters

bioc-issue-bot commented 6 years ago

Your package has been approved for building. Your package is now submitted to our queue.

IMPORTANT: Please read the instructions for setting up a push hook on your repository, or further changes to your repository will NOT trigger a new build.

bioc-issue-bot commented 6 years ago

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 following build report for more details:

http://bioconductor.org/spb_reports/BASiNET_buildreport_20171128080738.html

bioc-issue-bot commented 6 years ago

Received a valid push; starting a build. Commits are:

6642c74 bump version

bioc-issue-bot commented 6 years ago

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 following build report for more details:

http://bioconductor.org/spb_reports/BASiNET_buildreport_20171130112301.html

bioc-issue-bot commented 6 years ago

Received a valid push; starting a build. Commits are:

eedd2f9 Reenviu

bioc-issue-bot commented 6 years ago

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 following build report for more details:

http://bioconductor.org/spb_reports/BASiNET_buildreport_20171205151337.html

bioc-issue-bot commented 6 years ago

Received a valid push; starting a build. Commits are:

1fe9954 bump version

bioc-issue-bot commented 6 years ago

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, 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 following build report for more details:

http://bioconductor.org/spb_reports/BASiNET_buildreport_20171205153822.html

EricIto commented 6 years ago

Dear Bioconductor, Dear @mtmorgan,

I have three warning/error :

bioc-issue-bot commented 6 years ago

Received a valid push; starting a build. Commits are:

7088570 version

bioc-issue-bot commented 6 years ago

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, 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 following build report for more details:

http://bioconductor.org/spb_reports/BASiNET_buildreport_20171207133120.html

dvantwisk commented 6 years ago

Both problems with the error and warnings are on our end. More specifically, CRAN binaries are not available for R 3.5 on the Mac yet, so this error cannot be corrected until the binaries are available. You can ignore the merida2 build error for now. You can also ignore the warning on malbec2 involving rgl. This is a warning we are still working in resolve on our end. We will start reviewing your package now.

bioc-issue-bot commented 6 years ago

Received a valid push; starting a build. Commits are:

2440228 Bump version and fix graph3D a1ad566 Merge branch 'master' of https://github.com/EricIt...

bioc-issue-bot commented 6 years ago

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, 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 following build report for more details:

http://bioconductor.org/spb_reports/BASiNET_buildreport_20171217131839.html

dvantwisk commented 6 years ago

I've been reviewing your package and I'd just like you to correct this issue before I continue.

vignettes

bioc-issue-bot commented 6 years ago

Received a valid push; starting a build. Commits are:

bc04ac1 Correction of notes, change of vignette The examp...

EricIto commented 6 years ago

I put the examples in a block of code. See if I did it correctly please

bioc-issue-bot commented 6 years ago

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.

dvantwisk commented 6 years ago

You need to write a code block as follows: ``{r} a <- 1:10 sum(a) \``` You can run the commandR CMD Stangle ` to create an R file that shows all runnable code in the vignette. You can use this to check whether you got it right.

Before I give you the rest of the review, I do need to confirm that you know that BASiNET is already a package on CRAN. Once your package is accepted here, you must remove the package from CRAN since having the same packages on two concurrent repositories can cause problems. Do you accept this?

bioc-issue-bot commented 6 years ago

Received a valid push; starting a build. Commits are:

cfb0043 Correction of the code block

bioc-issue-bot commented 6 years ago

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.

EricIto commented 6 years ago

I agree, when my package is accepted in BASiNET I will remove from CRAN

bioc-issue-bot commented 6 years ago

Received a valid push; starting a build. Commits are:

d47e641 Fixed some bugs

bioc-issue-bot commented 6 years ago

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.

dvantwisk commented 6 years ago

Here is a review to get you started. There may be more things I need to bring up after you make these changes. I'm having trouble with all the matrices you are creating in classification.R:65-136. This comes off to me as an odd way to organize this data, but as it stands, most of the functions that help classification() that you have created are not vectorized and changing this method of organization may be a rather large overhaul. I'm still deciding what to do for this part. In the meantime, please make the following changes:

GENERAL:

DESCRIPTION:

R/classification.R

tests

vignettes

bioc-issue-bot commented 6 years ago

Received a valid push; starting a build. Commits are:

1e23e7e The changes were made according to the review

bioc-issue-bot commented 6 years ago

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.

EricIto commented 6 years ago

About this: [REQUIRED] L64-140: This block looks very inefficient. Would be better iteratively add to columns to the matrices and instead find a way to vectorize measures (). It may be better to create seperate matrices for mRNA, lncRNA, and srcRNA instead of iterating across numClass and using the long if-else statments in L78-97.

In this part of the code the measurement results are extracted and saved, these measurements are taken for each sequence, for each sequence there is an iteration of applying thresholds and extracting the measurements, this iteration is repeated N times and varies according to the network. That's why I'm adding columns in the matrix when I need it, and this feature that each network has a N of iterations is why I can not change that block of code

dvantwisk commented 6 years ago

At L64-140, I can't give a clear recommendation on how to change this code, so for the time being we can overlook it. Please look into making the other changes though.

dvantwisk commented 6 years ago

Sorry for the wait. I have some more things for you to look into. These are mostly some improvements to some of the issues I had in classification.R. Please implement these changes and message me back when you have. Also feel free to comment if you have any questions, etc.

GENERAL:

R/classification.R

R/threshold.R L28-36: Replace with:

       if(x!=1){
        matriz<-as_adjacency_matrix(net)
        matriz[(matriz==(x-1))]<-0
        net<-graph_from_adjacency_matrix(matriz, mode="undirected")
    }
    return(net)

The first conditional is empty and is, therefore, not needed.

dvantwisk commented 6 years ago

Hello,

Have you been working on the changes that we requested? We plan to have a new Bioconductor release in early May, so If you want your package to be included in that release, it will need to be accepted by mid-April. Please message me back and feel free to ask for any help if it is needed.

EricIto commented 6 years ago

Yes, I've been working. I made the changes you suggested and I made other changes as well. Now I'm doing some tests and then I'm going to upload here

dvantwisk commented 6 years ago

Just messaging you back to check in on your progress. This is another two week notice. Do you want to keep this issue open?

EricIto commented 6 years ago

I have a doubt, in the checklist it speaks like this "The result of R CMD build must be less than 4MB". I made some changes in BASiNET, now it is possible to save a model and load this model so that it does not have to do the training of the data, but only the test of the sequences. I want to make available in the package some models for several species, however with that the size of the package was to 83.1mb. Do you have any suggestions for me?

dvantwisk commented 6 years ago

You'll need to submit the training data as an experiment data package. We don't have any set guidelines for creating one, but I can give you an example of what the package should look like. alpineData https://bioconductor.org/packages/release/data/experiment/html/alpineData.html is an experiment data package that contains large data files to be used as an example for the alpine package https://bioconductor.org/packages/release/bioc/html/alpine.html. You'll need to submit this package similarly to how you submitted this one, but leave a message stating AdditionalPackage: https://github.com/EricIto/BASiNET to show that the package is used in conjunction with another. The closed issue for alpineData shows this https://github.com/Bioconductor/Contributions/issues/69.

dvantwisk commented 6 years ago

Hello,

I'm just sending out this message to those who are still working on their packages. The package needs to be accepted by April 16th to be included in the upcoming Bioconductor 3.7 release.

dvantwisk commented 6 years ago

This issue has been inactive for a while. It's been a while since anything has been pushed to it. If the package is to be included in the 3.7 release, it must be accepted by April 16th, but that includes the time it takes us to review the changes. Please make updates to this package soon or we will need to close this issue for the time being.

dvantwisk commented 6 years ago

I am going to close this issue for the time being since it has been inactive. You may reopen this issue when you are ready to make further changes.

bioc-issue-bot commented 6 years ago

There has been no progress on this issue for an extended period of time and therefore will be closed due to inactivity. You may reopen the issue when you feel you have the time to actively participate in the review/submission process. Please also keep in mind when a package is accepted to Bioconductor a level of active maintenance is expected.

Thank you for interest in Bioconductor.