Skip to content

Conversation

@warrenmcg
Copy link

@warrenmcg warrenmcg commented Jul 17, 2018

Hi @sahildshah1,

Here are some commits to help push the codebase closer to being a package that could be submitted to CRAN or bioconductor.

Summary of the changes:

  • major overhaul of the formatting to fit standards
  • update the DESCRIPTION file with package dependencies
  • export methods that the user should have access to: calcAllPairsDistances, calcCorMatrix, calcGeneTStats, geneNIDG
  • generated documentation for the exported methods (used devtools::document and the roxygen2 syntax for documenting)
  • change NAMESPACE to import necessary methods for the functions that need them (the @importFrom syntax within roxygen2 comments)
  • added sanity checks
  • removed extraneous files (.gitignore, .Rbuildignore) from the repo
  • added a fisher statistic to the geneNIDG output, combining the DE-decay p-value and the Correlation p-value

Remaining to-dos:

  • improve the plot function for arbitrary results

+ convert tabs to spaces
+ keep line length to <= 90 characters
+ spaces after commas and between '='
+ only function names should have '.' in label
+ reduce whitespace between '(' and between lines
+ no longer depend on limma and igraph; rather they are now imported using '::' operator
+ added explicit reference to pcaPP package, which is required for any use of 'cor.fk'
+ added explicit reference to KEGGgraph package, which is required to handle the data files
+ added all packages to 'imports' section in DESCRIPTION file; thus, these packages
  are installed when genesurrounder is installed
+ added importFrom statements so that the imported methods are in NAMESPACE
+ exporting these methods now make them visible to user
+ exported methods are now in NAMESPACE
+ calcCorMatrix now has default options for 'corMethod' and 'useMethod';
  these would not be known by the casual user
+ switch order of arguments to calcAllPairsDistances; this makes it
  easier for the user which arguments are required.
…d 'all' option for 'genes_assayedETnetwork' argument
+ can now take an arbitrary plot title
+ now plots the line indicating maximum number of genes tested,
taken directly from the results
+ added documentation
+ added graphics to dependencies
+ updated namespace
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant