Code Monkey home page Code Monkey logo

combinatorial-drug-screening-data-analysis's Introduction

Combinatorial Drug Screening Data Analysis

Overview

This repository contains scripts and datasets used in combinatorial drug screening analyses. It includes tools for adjusting dose responses, calculating synergy scores, and visualizing interaction effects between drugs.

Contents

  • Scripts: Includes R and Python scripts for analysis and data restructuring.
  • Data: Example datasets used in analyses.
  • Results: Visualizations such as dose-response curves and synergy scores.

Installation

To use the scripts in this repository, you will need Python and R. Instructions for installing these can be found at:

Example Data Structures for Synergy finder

Choose one to follow based on data restructuring needs. Note: limit of 12 blocks in Matrix structure.

Windows:

MacOS:

Usage Instructions for Combinatorial Drug Screens

When using this script [https://github.com/eipm/Combinatorial-Drug-Screening-Data-Analysis/blob/main/AZ-Synergyfinder.r], you may need to adjust certain parameters based on your preferences. Here are some considerations:

1. Plotting Preferences

  • Adjusting Plot Titles: Modify the plot titles to reflect the specific context of your experiment. You can customize titles to include additional information such as experimental conditions, treatment doses, or any other relevant details.

2. Data Processing

  • Data Imputation: If your dataset contains missing values, consider adjusting the data imputation method (impute_method) or disabling imputation altogether (impute = FALSE). Choose an imputation strategy that aligns with your data characteristics and analysis goals.

  • Noise Handling: Depending on the noise level in your data, you may choose to enable or disable noise handling (noise). Adjust the noise parameter based on the variability observed in your experimental measurements.

3. Synergy Calculation

  • Method Selection: Experiment with different synergy calculation methods (method) to assess their suitability for your dataset. Each method may capture different aspects of synergy, so it's beneficial to explore multiple approaches and compare their results.

  • Parameter Adjustment: Fine-tune parameters such as Emin and Emax to customize the synergy calculation process according to the expected range of interaction effects in your experimental system.

4. Plot Customization

  • Plot Formatting: Customize plot aesthetics, including colors, themes, and axis labels, to enhance readability and presentation quality. You can modify plot elements using ggplot2 functions to align with your visual preferences.

5. Output Management

  • Output Directory: Update the output_dir variable to specify the directory where generated plots and data files will be saved. Organize your output directory structure according to your project organization preferences.

  • Output Formats: Adjust the output format (output_format) to match your requirements. Supported formats include PDF, PNG, JPEG, SVG, etc. Choose the format that best suits your downstream analysis or presentation needs.

By considering these adjustments based on your preferences, you can tailor the script to effectively analyze variable screens involving both drugs in your combinatorial drug screening experiments.

Testing

Testing your data restructuring and analysis process ensures that your data is correctly prepared for combinatorial drug screening analysis. Here’s how you can use the Restructure-Raw2Synergy.py script for data restructuring and then analyze the data either using the AZ-Synergyfinder.r script or via the more user-friendly SynergyFinder+ website:

  1. Download Example Data:

    • Download the example raw data file for restructuring from this link.
  2. Run Data Restructuring Script:

    • Execute the Restructure-Raw2Synergy.py script to transform the raw data into the format required by SynergyFinder. Adjust the script parameters such as file_path and output_path as needed.
  3. Verify the Restructured Data:

    • Ensure that the output data is correctly formatted according to the SynergyFinder's specifications. This verification step is crucial before proceeding to the analysis phase.
  4. Analysis Options:

    • Using AZ-Synergyfinder.r Script:
      • For users comfortable with coding, run the AZ-Synergyfinder.r script to analyze the restructured data. Adjust analysis parameters such as synergy calculation methods and plotting preferences as described in the usage instructions.
    • Using SynergyFinder+ Website:
      • For a more user-friendly approach with less coding, visit the SynergyFinder+ website at SynergyFinder+ Dashboard.
      • Follow the instructions on the website to upload your data and utilize the online tools to calculate synergy scores and visualize interaction effects.
  5. Choose Your Analysis Tool:

    • Decide which analysis tool to use based on your comfort with coding and specific needs of your project. The script provides detailed control over the analysis parameters, while the website offers a straightforward, interactive way to analyze data.

By following these steps, you can effectively prepare and analyze your combinatorial drug screening data, utilizing the tools that best suit your expertise and research goals.

References and Tools

For synergy calculations and graphical analysis, we utilize SynergyFinder. More details and documentation can be found on their Bioconductor page:

Authors

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.