addNet: Create a net slot

Description Usage Arguments Details Value See Also Examples

Description

Creates and fills the net slot from a corObject.

Usage

1
addNet(obj)

Arguments

obj

a corObject with the slots pval and cor already defined

Details

The net slot is a data.frame where each row represents a potential miRNA-mRNA interaction. The row names are the concatenation of the miRNA and mRNA name (format "miRNA:mRNA") and the columns contain all the available information for each pair. The data.frame is sorted by miRNA name and then by mRNA name. See addFoldchanges, addDatabase, addScore and correctPval functions that help to add more information to the net slot.

Value

A data.frame with the cytofile slot filled.

See Also

corObject-class, addFoldchanges, addDatabase, \code{addScore} and correctPval

Examples

1
2
3
4
5
6
data(data.obj)
data.obj@net <- data.frame()

## create the minimal net slot
data.obj<-addNet(data.obj)
head(data.obj@net)

mariavica/mircomb documentation built on Feb. 3, 2020, 2:28 a.m.