makeTable: This makes a 2 column table of all possible pairs of miRNA

Usage Arguments Examples

View source: R/makeTable.R

Usage

1

Arguments

db

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
##---- Should be DIRECTLY executable !! ----
##-- ==>  Define data, use random,
##--	or do  help(data=index)  for the standard data sets.

## The function is currently defined as
function (db) 
{
    require("data.table")
    db = as.data.table(db)
    table = data.frame(mir1 = unique(db$miRNA), mir2 = unique(db$miRNA))
    table = expand.grid(mir1 = table$mir1, mir2 = table$mir2)
    table = as.data.table(table)
    return(table)
  }

komalsrathi/miRNAEnrich documentation built on May 20, 2019, 12:55 p.m.