Learn R Programming

MoonFinder (version 1.0.3)

rna2mod: rna2mod

Description

Construct a 0-1 binary matrix to represent the association between RNAs and protein modules.

Usage

rna2mod(rna2prot, modlist, pCutoff = 0.01, bgProtNum)

Arguments

rna2prot

two-column matrix with each row shows the binary association between RNA and protein.

modlist

a list of protein modules.

pCutoff

threshold of the P-value for enrichment analysis.

bgProtNum

the number of background proteins.

Value

rna2module

N x M 0-1 binary matrix of N RNA and M module.

moduleList

a list of modules targeted by at least one RNA.

References

MoonFinder: a framework for the identification of moonlighting non-coding RNAs.

Examples

Run this code
# NOT RUN {
data(rna2protein)
data(combinedModuleList)
data(uniGene)
uniGeneNum = length(uniGene)
result = rna2mod(rna2protein[1:100,],combinedModuleList,
    pCutoff = 0.01,uniGeneNum)
rna2module = result[[1]]
moduleList = result[[2]]
# }

Run the code above in your browser using DataLab