Giter Site home page Giter Site logo

loosc / systemsserology Goto Github PK

View Code? Open in Web Editor NEW
8.0 2.0 3.0 299 KB

Machine learning tools for the analysis of systems serology data

License: BSD 3-Clause "New" or "Revised" License

R 100.00%
feature-selection model-validation permutation-test partial-least-squares

systemsserology's Introduction

systemsseRology

About

systemsseRology is a collection of functions used to analyse multivariate systems serology data. You can learn more about the workflow by looking at vignette("example_analysis").

Installation

systemsseRology requires the ropls package:

if (!requireNamespace("BiocManager", quietly = TRUE))
    install.packages("BiocManager")

BiocManager::install("ropls")

It can then be installed via devtools:

install.packages("devtools")
install_github("LoosC/systemsseRology", ref = "reboot")
library(systemsseRology)

Selected Papers

systemsseRology has been employed in a number of papers, including:

systemsserology's People

Contributors

loosc avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

systemsserology's Issues

Include real data set

So far only artificially generated data set is used. Better to use a real one (maybe the same as from the La Jolla workshop)

Include sparse PLS-DA

Instead of having LASSO + PLS-DA use the sparse version of PLS-DA (I guess its in the package mixOmics)

Meaning of ellipses on PLS-DA scores plot

Hi, thanks for making the systemsseRology package available!

I noticed a comment in the code for systemsseRology::visualize_ropls_scores() which very briefly says

# confidence levels for ellipses

The ellipse drawing function that is called is ggplot2::stat_ellipse() (documentation here).

I think the comment could be a little misleading because the ellipses being drawn are data ellipses, not confidence ellipses, so you may want to change the text to something like:

# The level at which to draw the ellipse for the data ellipse

I had a brief exchange with your colleague, Deniz Cizmeci, to make sure this detail is correct.
Thanks for your attention to this minor point. For one of our recent studies, this was a question that came up during manuscript preparation, so I wanted to bring it to your attention.

Error: two LVs required

plt_scores_pca <- visualize_ropls_scores(model_pca, y, options = opts_plot)

returns this error:

Error in visualize_ropls_scores(model_pca, sg, options = opts_plot) :
two LVs required

validate -> validate_internal

It seems a little ridiculous to have
validate(X, y, method, options)
and
validate_repeat(X, y, method, options, n_trials = 100)

We should consider renaming validate_repeat -> validate and validate -> validate_internal (not exported to users) throughout all of the code. Then users can just specify n_trials in validate(). Maybe this defaults to 1 then instead of 100?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.