make_genelist {EGAD} | R Documentation |
The function extracts the list of all genes in the data set
make_genelist(gene_data_interacting)
gene_data_interacting |
2-column matrix, each row a pair indicating a relationship or interaction |
list array of data labels
gene.list <- paste('gene', 1:100, sep='') data <- matrix(0,nrow=100, ncol=2) data[,1] <- sample(gene.list, 50, replace=TRUE) data[,2] <- sample(gene.list, 50, replace=TRUE) genes <- make_genelist(data)