Giter Club home page Giter Club logo

castle's Introduction

Welcome to the CASTLE

R-CMD-check

This package is a user friendly implementation of the CASTLE (Concentration and Assay Specific Tumor Load Estimator) algorithm, as it is described in the accompanying scientific paper. Using the right analysis tool for your ddPCR analysis results when detecting low frequency variants can mean night and day for the performance of your pipeline. In this package functions for training a model and testing samples for low frequency variants are provided, as well as functionality to handle output .csv-files generated by QuantaSoft from Bio-Rad Laboratories Inc.

Installation

You can install the R -package from GitHub with:

# install.packages("devtools")
devtools::install_github("simondrue/castle")

Usage

Basic usage of castle consists of the following classic workflow:

# Load package
library(castle)

# Load training samples
training_data_path <- c("path/to/training/csv_files/")
training_samples <- import_QS_files(training_data_path)

# Train model
trained_model <- train_integrated_ddpcr_model(
  background_samples = training_samples
)

# Test some samples
test_samples <- c("path/to/test/csv_files/")
test_res <- test_tumor_sample_integrated(
  test_samples = test_samples,
  integrated_model = trained_model
)

To see a full example of how to do this with real world data, please see vignette("castle") which goes through a full analysis of a real world dataset.

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.