Git Product home page Git Product logo

pathwayscore's Introduction

PathwayScore

PathwayScore is collection of R-functions to compute pathway z-score given gene-expression data and genes mapped to corresponding pathways.

The rationale behind this concept is to find out how the pathway is behaving (either activating or repressing) given the expression pattern of expression of multiple genes.

  • For every gene, in expression data, might have different scales of expression-value.
  • So to bring down expression-values of every gene/protein in the same scale we compute Z-score (see below)
  • And the pathway-score is the average of z-score (from above) of all genes mapped to that pathway.

Z-score

Z_ij = x_ij - m_i / sd_i

Here,

  • i = gene
  • j = sample
  • Z_ij = Z-score of gene i in sample j
  • x_ij = expression value of gene i in sample j
  • m_i = mean of expression values in for gene i across all j
  • sd_i = standard-deviation of expression values in for gene i across all j

Usage

get.pathway.zcore(file.expr, file.pathway)

Description:

  • file.expr = path of file containing gene-expression matrix with Row as Genes and Columns as Samples.
  • file.pathway = path of file containing pathway-gene relationship
    • each line should contain information about a unique pathway
    • first-column must contain name of the pathwayj
    • second-column must contain genes mapped to the corresponding pathway multiple genes must be separated by comma symbol (,)

pathwayscore's People

Contributors

raunakms avatar

Stargazers

 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.