exprToBind: Binds an expression matrix with colors corresponding to the...

Description Usage Arguments Value Author(s) See Also Examples

Description

Binds an expression matrix with colors corresponding to the module of the elements in the rows (genes,transcripts...)

Usage

1
exprToBind(bnet, expr.matrix)

Arguments

bnet

A list of WGCNA results

expr.matrix

A matrix of expression values. Rows are genes, columns are samples

typeID

Type of IDs used as rows in the expression matrix.Default="ensembl_gene_id"

Value

An expression matrix additonnal informations with two columns added as the first columns of the matrix. The columns are, in order:

module

Contain the module of the element (gene, transcript...)

ID

contain the IDs used afterwards to merge all of the additional annotations in subsequent operation in the pipeline

Author(s)

Simon J Pelletier

See Also

topTable

ggplot

Examples

1
2
3
4
bnet <- readRDS("data/bnet_LGVD.rds")
expr.matrix <- readRDS("data/expr_matrix_LGVD.rds")
typeID <- "ensembl_gene_id"
expr.toBind <- exprToBind(bnet,expr.matrix,typeID)

spell098/rnaseq_functions2 documentation built on May 30, 2019, 7:57 a.m.