Giter VIP home page Giter VIP logo

adatiss's Introduction

AdaTiSS

AdaTiSS is a R package to calculate tissue specificity scores, developed in the paper AdaTiSS: A Novel Data-Adaptive Robust Method for Quantifying Tissue Specificity Scores, published in Bioinformatics, 2021.

Please contact Meng Wang by email [email protected] for questions.

Dependence

  • R (version >= 3.3.0)

Usage

To illustrate the usage of our package, we took a small set of gene expression in raw TPM from GTEx project in version 7 as an example.

The data folder includes raw TPM expression for 2000 genes from 181 samples across 32 tissues and a pheonotype info of the tissue type for each sample.

To call the AdaTiSS source function

source('./R/AdaTiSS_fn.R')

To load expression data

dat.rna = readRDS(file='./data/raw_tpm_expression.rds')

To preprocess raw data and obtain filtered gene expression in log scale (for more options, see the file 'AdaTiSS_fn.R')

X = preproc.filter.fn (dat.rna, dat.type = "TPM or RPKM", proc.zero = 'ceiled to 1', filter.col.prp = 1, exp.thres=1)

To load phenotype data

p.dat = read.csv('./data/sample_phenotype.csv')

To obtain gene expression in tissue level

tiss.abd = tiss.abd.fn(X, p.dat)

To call AdaTiSS (for more options, see the file 'AdaTiSS_fn.R')

result = AdaTiSS(X, tiss.abd=tiss.abd, adjust=TRUE, adjust.opt=0)

Output:

head(result$ada.s) --- sample normalized scores

head(result$ada.z) --- tissue specificity scores

head(result$pop.fit.mx) --- population fitting info

More information

For more statistical analysis, to check our AdaReg package.

For a related robust normalization work, to check our RobNorm package.

adatiss's People

Contributors

mwgrassgreen 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.