Git Product home page Git Product logo

abcstats's Introduction

ABCstats

Overview

ABCstats is an R package for metabolomics data transformation. Adaptive Box-Cox (ABC) transformation improves the data normality for statistical analysis.

Installation

Check if R package "devtools" is installed.

# If not, install R package "devtools" first
install.packages("devtools")

Install ABCstats

devtools::install_github("Waddlessss/ABCstats")

Usage

Input

ABCstats takes feature intensity table (dataframe) as input, with features in row and samples in column by default.

Specifically, the column names are sample names. The first row includes sample group names. The first column should be unique identifier for each metabolic feature. The input feature intensity table can be prepared in .csv format.

An example input data table can also be viewed in R:

# View the example input data table
View(DemoData)

In the first row, you need to label samples by their group names.

After preparing the input feature intensity table, you are ready to read it to R.

# Read the input feature intensity table in .csv format.
inputTable = read.csv(filename)
# Using demo data as input
# inputTable = DemoData

ABC transformation main function

# Sample normalization using ABC transformation main function
TransformedTable = ABCtransform(DemoData)

Output

The function ABCtransform returns the transformed feature intensity table (data frame). An extra column named lambda will be added to specify the optimized lambda value.

More descriptions are provided in R.

# Find more descriptions of the ABC transformation output
?ABCtransform()

Citation

To be updated.

abcstats's People

Contributors

huaxuyu avatar

Stargazers

Hongchao Ji avatar  avatar Zhimin Zhang avatar

Forkers

bouranij

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.