Code Monkey home page Code Monkey logo

umianalyzer's Introduction

R-CMD-check CRAN status CRAN Downloads

umiAnalyzer 1.0.0

Tools for analyzing sequencing data containing unique molecular identifiers generated by UMIErrorCorrect (https://github.com/stahlberggroup/umierrorcorrect). The package allows merging of multiple samples into a single UMIexperiment object which can be easily manipulated using build-in functions to generate tabular and graphical output. The package includes a shiny app with a graphical user interface for data exploration and generating plots and report documents.

This README serves as a basic introduction, for more detailed information and examples read the wiki pages on GitHub (https://github.com/sfilges/umiAnalyzer/wiki) or the R vignette using:

browseVignettes('umiAnalyzer')

For a version history/changelog, please see the NEWS file.

Requirements

  • R (>= 4.1.0), which can be downloaded and installed via The Comprehensive R Archive Network CRAN.
  • Installation from R using install_github requires the devtools package

Installation

Install the current stable version from CRAN:

# from CRAN
install.packages('umiAnalyzer')

Alternatively, you can download the stable version or the latest development version from GitHub using devtools:

# get the current stable version from github using the devtools package:
devtools::install_github('sfilges/umiAnalyzer')

# get the latest development version:
devtools::install_github('sfilges/umiAnalyzer', ref = 'devel')

Running the visualization app

Run the following command in the R console to start the app:

umiAnalyzer::runUmiVisualizer()

Using the R package in your own scripts

How to make build your own UMIexperiment object

Define a variable containing the path to the directory with all the UMIErrorCorrect output folders belonging to your experiment. umiAnalyzer comes with raw test data generated with UMIErrorCorrect that you can import if you don't have any of your own.

Call the createUmiExperiment to create your UMIexperiment object.

The UMIexperiment object always maintains your raw data, however you can create as many filters as you like, which will be saved as separate objects to access. You can filter the consensus table of UMIexperiment object with filterUMIobject. The only mandatory arguments are the object to be filtered and a user defined name. You can use that name to retrieve a filtered table using getFilter.

library(umiAnalyzer)

main <- system.file('extdata', package = 'umiAnalyzer')

simsen <- createUmiExperiment(main)

reads <- parseBamFiles(main, consDepth = 10)

bc_hist <- BarcodeFamilyHistogram(reads)
bc_hist

qc_plot <- QCplot(simsen)
qc_plot

simsen <- filterUmiObject(simsen)

myfilter <- getFilteredData(simsen)
myfilter

amplicon_plot <- AmpliconPlot(simsen)
amplicon_plot

umianalyzer's People

Contributors

gustavjoh avatar sfilges avatar

Watchers

 avatar  avatar

umianalyzer's Issues

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.