Code Monkey home page Code Monkey logo

rss_classifier's Introduction

RSS Classification

This package provides a function for RSS clasification. Paper:

Installation (pip)

To install the package, you can use pip:

pip install git+https://github.com/kisakol/RSS_Classifier.git

Installation (Docker)

will be updated soon

Args

Predicts the RSS clusters of the input data using the trained model and gene modules.  
Args:  
    dataframe_path: The input data path. Rows should be samples and columns should be genes. First row should be the gene names (HUGO SYMBOLS). Data should be log2 transformed.
    model_path: str: The path to the trained model.
    modules_path: str: The path to the modules file.
    scaled: bool: If the input data is scaled. Default is False.
    output: str: The output file name. Default is "RSS_predictions".
Returns:
    None
Writes:
    A file with the predicted RSS clusters. 

Using the Function

To use the function, simply import it and call it with the required arguments:

from rssclassifier.rssmodel import rss_predict

# Prepare input data
dataframe_path = "path/to/df"

# Call the function
rss_predict(dataframe_path, output="RSS_classifications")

Reference

Kisakol, B., Matveeva, A., Salvucci, M. et al. Identification of unique rectal cancer-specific subtypes. Br J Cancer (2024). https://doi.org/10.1038/s41416-024-02656-0

rss_classifier's People

Contributors

kisakol avatar

Watchers

 avatar

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.