getGeneVector: Get binary factor vector for genes

Description Usage Arguments Value Examples

Description

Get binary factor vector for genes

Usage

1
getGeneVector(genes, interaction.tbl, filter.mode = FALSE)

Arguments

genes

data.frame of gene metadata (data$voom or data$dgelist)

interaction.tbl

gene interaction table constructed from genes classified into an interaction mode

filter.mode

Boolean FALSE when all genes in the interaction table are used to construct the gene vector. TRUE when the gene vector should be constructed only from genes classified into a particular mode

Value

factor vector where genes of interest are represented by 1 and the opposite are represented by 0

Examples

1
2
3
4
5
6
# construct gene vector from genes exhibiting high stabilization mode
## Not run: 
this_gene_vector <- getGeneVector(data$dgelist$genes, edgeR_interaction.tbl,
filter.mode = "High.Stab")

## End(Not run)

taylo5jm/interactions documentation built on May 31, 2019, 3:57 a.m.