from2list2D: A function that converts a two class lists of up and down...

Description Usage Arguments Examples

Description

Input are the up and down-regulated list for a set of comparisons C1,...CL,the output will be a matrix of L columns, where each element if #' 1(up),0 (not),-1 (down). Useful to construct venn-diagram and status columns for some applications when you are reading lists from collections and you want to intersect with your analysis.

Usage

1
from2list2D(up, down)

Arguments

up:

is a list of L vectors containing up regulated genes in each comparison C1,...CL

down:

is a list of L vectors containing down regulated genes in each comparison C1,...CL

Examples

1
2
3
up<-list(Set1=c('g1','g3'),Set2=c('g1','g4'))
down<-list(Set1=c('g5','g7'),Set2=c('g2','g6'))
D<-from2list2D(up,down)

mssm-msf-2019/BiostatsALL documentation built on May 22, 2019, 12:16 p.m.