Bioconductor / Contributions

Contribute Packages to Bioconductor
134 stars 33 forks source link

SVMDO #2848

Closed robogeno closed 1 year ago

robogeno commented 1 year ago

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]'

I am familiar with the essential aspects of Bioconductor software management, including:

For questions/help about the submission process, including questions about the output of the automatic reports generated by the SPB (Single Package Builder), please use the #package-submission channel of our Community Slack. Follow the link on the home page of the Bioconductor website to sign up.

bioc-issue-bot commented 1 year ago

Hi @robogeno

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: SVMDO
Title: SVMDO: Identification of Tumour-discriminating mRNA Signatures
        via Support Vector Machines Supported by Disease Ontology
Version: 0.99.0
Date: 2022-10-13
Authors@R: 
    c(person(given = "Mustafa Erhan",
    family = "Özer",
    role = c("aut","cre"),
    email = "erhanozer19@marun.edu.tr"),
    person(given = "Pemra",
    family = "Özbek Sarıca",
    role = "aut",
    email = "pemra.ozbek@marmara.edu.tr"),
    person(given = "Kazım Yalçın",
    family = "Arğa",
    role = "aut",
    email = "kazim.arga@marmara.edu.tr"))      
Depends: R(>= 4.2), tcltk (>= 4.2.1), gWidgets2 (>= 1.0-9), memoise (>=
        2.0.1), gWidgets2tcltk (>= 1.0-8)
Imports: nortest (>= 1.0-4), e1071 (>= 1.7-11), BSDA (>=
        1.2.1),data.table (>= 1.14.2), sjmisc (>= 2.8.9), klaR (>=
        1.7-1), caTools (>= 1.18.2),caret (>= 6.0-93), survival (>= 3.4-0),
        DOSE (>= 3.22.1) , AnnotationDbi (>= 1.58.0), org.Hs.eg.db (>= 3.15.0),
        dplyr (>= 1.0.10),grDevices, graphics, stats, utils
Description: SVMDO is an easy-to-use GUI using disease information for detecting tumour/normal sample 
    discriminating gene sets from differentially expressed genes. Our approach is based on an 
    iterative algorithm filtering genes with disease ontology enrichment analysis and wilk’s lambda 
    criterion connected to SVM classification model construction. Along with gene set extraction, 
    SVMDO also provides individual prognostic marker detection. The algorithm is designed 
    for FPKM and RPKM normalized RNA-Seq transcriptome datasets.    
biocViews: GeneSetEnrichment, DifferentialExpression, GUI, Classification, RNASeq, Transcriptomics, Survival
NeedsCompilation: no
License: GPL-3
Encoding: UTF-8
Roxygen: list(markdown = TRUE)
RoxygenNote: 7.2.1
Maintainer: Mustafa Erhan Özer <erhanozer19@marun.edu.tr>
Suggests: 
    knitr,
    rmarkdown,
    testthat (>= 3.0.0)
VignetteBuilder: knitr
Config/testthat/edition: 3
robogeno commented 1 year ago

In the "About" section of SVMDO repository page, I changed Disease Related to Disease-Associated. Is it fine to change it or do I have to wait for the moderation?

vjcitn commented 1 year ago

You can make any changes to the repository that you like.

robogeno commented 1 year ago

Do I have to resubmit the package after the changes or just add what I did into the comment section?

lshep commented 1 year ago

@robogeno for now you please make the change in your github repo. @vjcitn may make some pre-review comment before the package is officially in review, for responses to those please make the changes in your github rep and comment back here.

Once the package passes awaiting moderation stage, a review in progress tag will appear, and it will assigned a reviewer. At that time then you would also need to push the changes into git.bioconductor.org.

Cheers

robogeno commented 1 year ago

I added bug report link to the DESCRIPTION file and mentioned this update in the NEWS.md file

robogeno commented 1 year ago
robogeno commented 1 year ago
vjcitn commented 1 year ago
  Running ‘testthat.R’
 ERROR
Running the tests in 'tests/testthat.R' failed.
Last 13 lines of output:

  'select()' returned 1:1 mapping between keys and columns
  [ FAIL 1 | WARN 1 | SKIP 0 | PASS 7 ]

  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Error ('test-prognostic_analysis.R:69'): prognostic analysis is succesful ───
  Error in `survival::coxph(survival::Surv(time = alldata1$days_to_death, 
      event = alldata1$vital_status) ~ (moduletrans[, 1]), data = alldata1)`: No (non-missing) observations
  Backtrace:
      ▆
   1. └─survival::coxph(...) at test-prognostic_analysis.R:69:4

  [ FAIL 1 | WARN 1 | SKIP 0 | PASS 7 ]
  Error: Test failures
  Execution halted
* checking for unstated dependencies in vignettes ... OK
* checking package vignettes in 'inst/doc' ... OK
* checking running R code from vignettes ...
  'SVMDO_guide.Rmd' using 'UTF-8'... OK
 NONE
* checking re-building of vignette outputs ... OK
* checking PDF version of manual ... OK
* DONE

did you run R CMD check on the github repo?

robogeno commented 1 year ago

Yes I did, I only received an error and a warning about pdf manual because I could not install mktex properly.

@.*** MINGW64 /c/Users/Erhan/OneDrive/Belgeler/Github $ R CMD check SVMDO_0.99.0.tar.gz

Status: 1 ERROR, 1 WARNING

Message ID: @.***>

robogeno commented 1 year ago

@vjcitn I have reuploaded my test folder

Erhan özer @.***>, 12 Kas 2022 Cmt, 19:52 tarihinde şunu yazdı:

Yes I did, I only received an error and a warning about pdf manual because I could not install mktex properly.

@.*** MINGW64 /c/Users/Erhan/OneDrive/Belgeler/Github $ R CMD check SVMDO_0.99.0.tar.gz

  • using log directory 'C:/Users/Erhan/OneDrive/Belgeler/GitHub/SVMDO.Rcheck'
  • using R version 4.2.1 (2022-06-23 ucrt)
  • using platform: x86_64-w64-mingw32 (64-bit)
  • using session charset: UTF-8
  • checking for file 'SVMDO/DESCRIPTION' ... OK
  • this is package 'SVMDO' version '0.99.0'
  • package encoding: UTF-8
  • checking package namespace information ... OK
  • checking package dependencies ... OK
  • checking if this is a source package ... OK
  • checking if there is a namespace ... OK
  • checking for executable files ... OK
  • checking for hidden files and directories ... OK
  • checking for portable file names ... OK
  • checking whether package 'SVMDO' can be installed ... OK
  • checking installed package size ... OK
  • checking package directory ... OK
  • checking 'build' directory ... OK
  • checking DESCRIPTION meta-information ... OK
  • checking top-level files ... OK
  • checking for left-over files ... OK
  • checking index information ... OK
  • checking package subdirectories ... OK
  • checking R files for non-ASCII characters ... OK
  • checking R files for syntax errors ... OK
  • checking whether the package can be loaded ... OK
  • checking whether the package can be loaded with stated dependencies ... OK
  • checking whether the package can be unloaded cleanly ... OK
  • checking whether the namespace can be loaded with stated dependencies ... OK
  • checking whether the namespace can be unloaded cleanly ... OK
  • checking loading without being on the library search path ... OK
  • checking dependencies in R code ... OK
  • checking S3 generic/method consistency ... OK
  • checking replacement functions ... OK
  • checking foreign function calls ... OK
  • checking R code for possible problems ... OK
  • checking Rd files ... OK
  • checking Rd metadata ... OK
  • checking Rd cross-references ... OK
  • checking for missing documentation entries ... OK
  • checking for code/documentation mismatches ... OK
  • checking Rd \usage sections ... OK
  • checking Rd contents ... OK
  • checking for unstated dependencies in examples ... OK
  • checking installed files from 'inst/doc' ... OK
  • checking files in 'vignettes' ... OK
  • checking examples ... OK
  • checking for unstated dependencies in 'tests' ... OK
  • checking tests ... Running 'testthat.R' OK
  • checking for unstated dependencies in vignettes ... OK
  • checking package vignettes in 'inst/doc' ... OK
  • checking running R code from vignettes ... 'SVMDO_guide.Rmd' using 'UTF-8'... OK NONE
  • checking re-building of vignette outputs ... OK
  • checking PDF version of manual ... WARNING LaTeX errors when creating PDF version. This typically indicates Rd problems.
  • checking PDF version of manual without index ... ERROR Re-running with no redirection of stdout/stderr. Hmm ... looks like a package Converting parsed Rd's to LaTeX Creating pdf output from LaTeX ... Error in texi2dvi(file = file, pdf = TRUE, clean = clean, quiet = quiet, : pdflatex is not available Error in texi2dvi(file = file, pdf = TRUE, clean = clean, quiet = quiet, : pdflatex is not available Error in running tools::texi2pdf() You may want to clean up by 'rm -Rf C:/Users/Erhan/AppData/Local/Temp/RtmpghswWi/Rd2pdf81079375eba'
  • DONE

Status: 1 ERROR, 1 WARNING

Message ID: @.*** com>

robogeno commented 1 year ago

Good night @vjcitn,

I have found and fixed a bug in one of the test scripts. I do not observe error in survival analysis anymore.

vjcitn commented 1 year ago

I used the updated code and the problem persisted. But there are more serious problems.

 setwd(Sys.getenv("HOME"))

  surv_object<-NULL
  tcga_sample_comb<-NULL
  st_point<-NULL
  end_point<-NULL
  exp_col_data<-NULL
  coxcoeff<-NULL

  tcga_sample_comb<-read.table("tcga_sample_comb.txt",sep="\t",header=TRUE)
  exp_col_data<-tcga_sample_comb$id
  gene_path<-system.file("extdata","top_genes_test.txt",package="SVMDO",mustWork = TRUE)
  exp_data<-data.table::fread(gene_path,sep="\t")

this indicates that your package has written a file into my HOME folder. This is not permitted. The convention is that any new data or file production occurs in a temporary folder -- R gives you tempfile() to produce paths for new file creation. Do not use setwd() to work with temporary data -- construct the full paths and work with them.

robogeno commented 1 year ago

@vjcitn, I have combined the test processes into a single file and got rid of the output file dependency in the code steps except the external files. I also erased the setwd(Sys.getenv("HOME")). Now all of the output files are written into a temporary file which is created by R CMD check process.

I do not receive any error.

vjcitn commented 1 year ago

Thanks for being so responsive. I've now checked your package and looked a little more closely at it. I am going to mark it "needs interop" because it is using files to manage information instead of using relevant Bioconductor classes like SummarizedExperiment. The use of tcltk to provide a GUI is somewhat outmoded, shiny is used to produce most GUIs in bioconductor. You could use the tcltk GUI if necessary, but it should not be limited to finding information on the user's filesystem -- it should be possible to discover and use relevant entities in the users workspace or ExperimentHub cache. Please have a look at curatedTCGAData package and its use for acquiring open TCGA data. Also be sure to expose and test functions underlying your data analysis activities. At present you export only one function to drive the GUI and that is quite non-standard. Users will want to be able to see and interact with the underlying analytical functions, and these need to be explained in the vignette and man pages.

robogeno commented 1 year ago

Our algorithm uses fpkm/rpkm normalized RNA-Seq datasets. I did not see these normalization forms in curatedTCGAdata package. Is it ok if I use TCGAbiolinks instead?

vjcitn commented 1 year ago

You can obtain data from TCGAbiolinks but please ensure that a) the user/package builder does not need to do the downloads (e.g., do it, downsample, and serialize in your package or in an ExperimentHubData package), b) you are working with SummarizedExperiment or similar data structures as much as possible.

robogeno commented 1 year ago

Good night @vjcitn,

Due to the illness, I could not write anything earlier.

I have added separate sections of algorithm into the package. Now whole or separate analyses can be applied. To apply separate analyses in different times, the user can save the variables in the workspace.

The recent form of algorithm does not use the output files. It creates variables in workspace and use them in the algorithm steps.

I have also updated the test section to apply the testing processes for each step in the algorithm separately.

Furthermore, I have added a test analysis section into the main screen of our algorithm. I have downsized TCGA-COAD and TCGA-LUSC expression datasets into 198 genes and loaded them into RDS objects to be called during the test analysis. To apply survival analysis, I have also loaded clinical datasets into RDS objects as well. During the test analysis, these objects can be called from the extdata folder.

vjcitn commented 1 year ago

Thanks for your revisions. You are not using SummarizedExperiment to organize the molecular and clinical data, and the tcltk approach does not fit with Bioconductor at this time. I will close the issue; I think you may be better off distributing your package in another way. Study the contributions.bioconductor.org and if you make revisions that are consistent with the guidelines, reopen the issue and we will have another look.

robogeno commented 1 year ago

Good day @vjcitn @lshep,

I have made revisions in my package.

How can I reopen the issue?

robogeno commented 1 year ago

@vjcitn @lshep I also accidentally opened another SVMDO issue 4 days ago.

How can I remove that issue https://github.com/Bioconductor/Contributions/issues/2884 ?

lshep commented 1 year ago

its already closed and had the message to continue on this issue so you are fine. Vince or I will review your changes shortly.

robogeno commented 1 year ago

Good day, To prevent process abort for larger input gene numbers, I have removed time limiter code section in the classification step of the script

bioc-issue-bot commented 1 year ago

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

bioc-issue-bot commented 1 year ago

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/SVMDO to trigger a new build. A quick tutorial for setting up remotes and pushing to upstream can be found here.

jianhong commented 1 year ago

Package 'SVMDO' Review

Thank you for submition your package to Bioconductor. The package passed check and build. However there are several things need to be fixed. Please try to answer the comments line by line when you are ready for a second review. Code: Note: please condsider; Important: must be addressed.

The DESCRIPTION file

General package development

R code

shiny development

robogeno commented 1 year ago

Good day @jianhong

I would like to ask about R version update in DESCRIPTION file.

The latest R version I can find in CRAN is 4.2.2

Due to being unable to update R, I get error during package building process after changing the version in DESCRIPTION :

ERROR: this R is version 4.2.2, package 'SVMDO' requires R >= 4.3

lshep commented 1 year ago

Bioconductor is prepping for the next spring release which coincides with the new release of R. The devel version of Bioconductor is therefore also using R-devel while the current Bioconductor release is using 4.2. All newly accepted packages are accepted to devel first and released on the next release time slot (either spring or fall)

bioc-issue-bot commented 1 year ago

Received a valid push on git.bioconductor.org; starting a build for commit id: 32d44a3b036df518a4c0e48e888f7902cc1356c6

bioc-issue-bot commented 1 year ago

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/SVMDO to trigger a new build. A quick tutorial for setting up remotes and pushing to upstream can be found here.

jianhong commented 1 year ago

Package 'SVMDO' Review

Thank you for the updates. The package passed check and build. However I did not see your line by line answers for last comments. Please try to answer the comments line by line when you are ready for the next review. Otherwise the reviewer process will be delayed. Code: Note: please consider; Important: must be addressed.

The DESCRIPTION file

R code

shiny development

robogeno commented 1 year ago

Good day @jianhong,

I apologize for not providing information about the updated sections. When I uploaded the updates to git.bioconductor.org, I only did it to check if I can do it. At that time, I did not realize that I should have added comments about updates.

I have finished most of the updates. I will provide comments about them and the recent ones that you have sent me, as soon as possible.

bioc-issue-bot commented 1 year ago

Received a valid push on git.bioconductor.org; starting a build for commit id: 26a34610a3b6676d786fcca68574d22e848a3484

bioc-issue-bot commented 1 year ago

Received a valid push on git.bioconductor.org; starting a build for commit id: d69de4c4bec896d10d7c0cc0c9155bfda1c6b5dd

bioc-issue-bot commented 1 year 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". 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/SVMDO to trigger a new build. A quick tutorial for setting up remotes and pushing to upstream can be found here.

robogeno commented 1 year ago

Good day @jianhong,

I listed the latest updates in the package:

The DESCRIPTION file

General package development

R code

Documentation:

shiny development

bioc-issue-bot commented 1 year 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". 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/SVMDO to trigger a new build. A quick tutorial for setting up remotes and pushing to upstream can be found here.

bioc-issue-bot commented 1 year ago

Received a valid push on git.bioconductor.org; starting a build for commit id: 9d7c655cb5be1814ca35016483e953d5009f85e5

bioc-issue-bot commented 1 year 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". 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/SVMDO to trigger a new build. A quick tutorial for setting up remotes and pushing to upstream can be found here.

bioc-issue-bot commented 1 year ago

Received a valid push on git.bioconductor.org; starting a build for commit id: 8b5f9dc941b788f6e3f02a1eb2ab5f396eb033f7

bioc-issue-bot commented 1 year ago

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/SVMDO to trigger a new build. A quick tutorial for setting up remotes and pushing to upstream can be found here.

bioc-issue-bot commented 1 year ago

Received a valid push on git.bioconductor.org; starting a build for commit id: 16bfaa4c70a9ba4e5e4b266b7c4d07fb549ef60c

robogeno commented 1 year ago

Good day @jianhong,

In this update, I added vignette file link to the README file

bioc-issue-bot commented 1 year ago

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/SVMDO to trigger a new build. A quick tutorial for setting up remotes and pushing to upstream can be found here.

bioc-issue-bot commented 1 year ago

Received a valid push on git.bioconductor.org; starting a build for commit id: 7f46240bd89a29bca781f7097932125e7816a267

bioc-issue-bot commented 1 year 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: "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/SVMDO to trigger a new build. A quick tutorial for setting up remotes and pushing to upstream can be found here.

bioc-issue-bot commented 1 year ago

Received a valid push on git.bioconductor.org; starting a build for commit id: 0c8256d540839b38f5ee26ae228242a66e08e474

bioc-issue-bot commented 1 year 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: "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/SVMDO to trigger a new build. A quick tutorial for setting up remotes and pushing to upstream can be found here.

bioc-issue-bot commented 1 year ago

Received a valid push on git.bioconductor.org; starting a build for commit id: c69f06bf5affba409f1a9b2f71c64d23983b1156

bioc-issue-bot commented 1 year 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: "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/SVMDO to trigger a new build. A quick tutorial for setting up remotes and pushing to upstream can be found here.