Learn R Programming

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.

Copy Link

Version

Install

install.packages('Fluidigm')

Monthly Downloads

200

Version

0.2

License

GPL-3

Maintainer

Daniel Fischer

Last Published

March 12th, 2024

Functions in Fluidigm (0.2)

fluidigmAnalysisWrapper

Run the Fluidigm Analysis Script Together
estimateErrors

Estimate Errors in 'PLINK'' ped files
getPairwiseSimilarityLoci

Get Pairwise Similarity Loci
calculatePairwiseSimilarities

Run plink to Calculate Pairwise Similarities
Fluidigm

Fluidigm
similarityMatrix

Calculate the similarity matrix
fluidigm2PLINK

Convert Fluidigm Output to 'PLINK' Format