Git Product home page Git Product logo

snpready's Introduction

snpReady


Maturing LGPL, Version 3.0 Status of the Repo: Active Dowloads from the CRAN CRAN

A tool to assist breeders to prepare genotypic datasets for genomic analysis in order to run genomic analysis and estimates some population genetics parameters. Thus, it produce outputs that can be use in many packages or softwares related to genomic analysis.

Installation

snpReady is available on CRAN

install.packages("snpReady")

The snpReady package has impute package as dependency. However, the package is available at bioconductor. To install this package in the current R version

if (!requireNamespace("BiocManager", quietly = TRUE))
    install.packages("BiocManager")

BiocManager::install("impute")

For older R versions, you need to install the proper Bioconductor version associated, available here

BiocManager::install(version="X.X")

where X.X is the bioconductor version.

The experimental version is available at the github and its installation needs to be done via devtools. Hence, it is necessary first install devtools and later install snpReady

install.packages("devtools")
library(devtools)
install_github("italo-granato/snpReady")

Usage

Below, we present some basic usage for the three functions available in snpReady

raw.data

Function to clean and recode raw dataset from genotyping

data(maize.line)
M <- raw.data(as.matrix(maize.line), frame="long", base=TRUE, sweep.sample= 0.8, 
call.rate=0.95, maf=0.05, input=TRUE, outfile="-101")

G.matrix

Function to create genomic relationship matrix (GRM)

data(maize.hyb)
x <- G.matrix(maize.hyb, method = "VanRaden", format = "wide")
A <- x$Ga
D <- x$Gd

popgen

Function to estimate some parameters of genetic of population using markers

data(maize.hyb)
x <- popgen(maize.hyb) 

Acknowledgments

I would like to thank people from Allogamous Plant Breeding Laboratory Team for helping in this project.

Authors

Allogamous Plant Breeding Laboratory Team

Contributting

To anyone who wants to contribute, please contact Italo Granato for more details.

snpready's People

Contributors

italo-granato avatar mendoncalf avatar rfritscheneto avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

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.