Description Usage Arguments Value Examples
Merge multiple raw datasets
The mergeRaw
is function to merge multiple raw datasets by
matching orthologs
1 2 |
data.list: |
a list of data matrices. |
species: |
a vector specie names of same length as data.list. |
ortholog.db: |
the ortholog object (in R environment) |
ortholog.file: |
the ortholog file to be imported |
reference: |
the index of the reference data, the outputted merged list will be named using the rownames of this data. |
unique: |
logical value indicating whether to take only the "one to one" unique match (T) or allow "multiple to one" and "one to multiple" match (F) |
an merged list of rdatasets (with same number of rows and rownames)
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 | ## Not run:
data(hb)
hb.data <- data
hb.group <- group
data(hs)
hs.data <- data
hs.group <- group
data(ht)
ht.data <- data
ht.group <- group
data(mb)
mb.data <- data
mb.group <- group
data(ms)
ms.data <- data
ms.group <- group
data(mt)
mt.data <- data
mt.group <- group
data.list <- list(hb.data,hs.data,ht.data,mb.data,ms.data,mt.data)
species <- c(rep("human",3), rep("mouse",3))
data(hm_orth)
data.merge.list <- mergeRaw(data.list,species=species,
ortholog.db = hm_orth, reference=1,unique=T)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.