Description Usage Arguments Value Author(s) See Also Examples
Binds an expression matrix with colors corresponding to the module of the elements in the rows (genes,transcripts...)
1 | exprToBind(bnet, expr.matrix, typeID = "ensembl_gene_id")
|
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" |
An expression matrix additonnal informations with two columns added as the first columns of the matrix. The columns are, in order:
Contain the module of the element (gene, transcript...)
contain the IDs used afterwards to merge all of the additional annotations in subsequent operation in the pipeline
Simon J Pelletier
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)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.