Giter Site home page Giter Site logo

fluidigm's Introduction

Fluidigm

Fluidigm is an R package that can analyze genotyping data from Fluidigm instruments. It can perform various operations such as:

  • Converting the raw data into PLINK format
  • Estimating genotyping errors
  • Calculating pairwise similarities
  • Determining pairwise similarity loci
  • Generating a similarity matrix

Fluidigm provides a convenient interface to the powerful capabilities of the PLINK software, which is a free, open-source whole genome association analysis toolset. It also provides detailed output files and plots to help you explore and understand your genotypic data.

Installation

You can install Fluidigm from CRAN with (soon...):

install.packages("Fluidigm")

Or you can install the development version from GitHub with:

# install.packages("remotes")
remotes::install_github("fischuu/Fluidigm")

Further requirements

Please note, that you need to have Plink installed on your system and it needs to be available on the PATH variable.

On the Plink wegpage there are aleady precompiled binaries that can be downloaded, see here

Plink 1.9 : https://www.cog-genomics.org/plink/

Plink 1.07 : https://zzz.bwh.harvard.edu/plink/download.shtml

Running example

# Load the library
  library("Fluidigm")
  
# Set the working directory
  setwd("~/Project/My_fluidigm_project")

# Define the required files
  file <- "Run.csv"
  map <- "Run.map"
  db <- "Run.ped"
  neg_controls=c("STA-blank", "Chipblank")
  
# Define y and x markers
  y.marker <- "markerY1"
  x.marker <- c("markerX1",
                "markerX2",
                "markerX3",
                "markerX4",
                "markerX5",
                "markerX6",
                "markerX7",
                "markerX8",
                "markerX9")

# Run the analysis
  out <- fluidigmAnalysisWrapper(file=file,
                                 db=db,
                                 map=map,
                                 neg_controls=neg_controls,
                                 y.marker = y.marker,
                                 x.marker = x.marker)
  
# You can also run the individual steps  

fluidigm2PLINK(...)
estimateErrors(...)
calculatePairwiseSimilarities(...)
getPairwiseSimilarityLoci(...)
similarityMatrix(...)

License

Fluidigm is licensed under the GPL-3 license. See the LICENSE file for more information.

Citation

If you use Fluidigm in your research, please cite it as follows:

citation("Fluidigm")

Contact If you have any questions, suggestions, or feedback, please feel free to contact me. I would love to hear from you and improve the package. ๐Ÿ™Œ

Acknowledgements

The package uses also a perl script that was written by Doug Scofield and which is published here:

https://github.com/douglasgscofield/bioinfo/blob/main/scripts/plink-pairwise-loci.pl

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.