Giter Club home page Giter Club logo

r_tutorials's Introduction

Tutorials for R

Author : Daniel VAULOT
UMR 7144 CNRS-UPMC, Station Biologique, Place G. Tessier, 29680 Roscoff FRANCE
email: [email protected] / [email protected]

I have posted here a few tutorials for different types of analysis of microbial communities. For each of these of these tutorials there is a detailed explanation created with Rmd (see below).

Please post any question or issues here : https://github.com/vaulot/R_tutorials/issues

Prerequisites to be installed to run these tutorials

  • Download from GitHub the whole set of tutorial

  • Unzip the files to a folder on your computer

  • Install R

  • Install R studio

  • Download this set tutorial from GitHub : R tutorials

  • Download and install the following libraries by running under R studio the following lines

install.packages("dplyr")     # To manipulate dataframes
install.packages("tidyr")     # To manipulate dataframes
install.packages("readxl")    # To read Excel files into R
install.packages("ggplot2")   # for high quality graphics
install.packages("maps")      # to make maps
install.packages("gridExtra") # for grids
install.packages("treemap")   # for treemaps
install.packages("FactoMineR") # multivariate analysis
install.packages("plotrix" )  # needed for standard error

source("https://bioconductor.org/biocLite.R")
biocLite('phyloseq')          # metabarcode data analysis
biocLite("Biostrings")        # manipulate sequences

Step by step instructions

Feedback

r_tutorials's People

Contributors

vaulot avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

r_tutorials's Issues

R tutorials transformation

Hi, I am just going through your R tutorials, which are very useful to learn phyloseq package.
One question I have is about the transformation of the read into relative data.

Why do you choose the median sum and not 100 or the minimum of all samples ?

total = median(sample_sums(carbom))
  standf = function(x, t=total) round(t * (x / sum(x)))
  carbom = transform_sample_counts(carbom, standf)

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.