addFoldchanges: Add foldchanges to the 'net' slot

Description Usage Arguments Value See Also Examples

Description

Adds information regarding to miRNA and mRNA differential expression on the net slot of a corObject

Usage

1
addFoldchanges(obj, add.pvals = FALSE)

Arguments

obj

a corObject with a net, diffexp.miRNA and diffexp.mRNA slots already defined.

add.pvals

TRUE or FALSE (default). If TRUE, p values are added to the net slot.

Value

a corObject with the following columns added in the net slot:

plus, if add.pvals=TRUE:

See Also

corObject-class, addDiffexp, addDiffexp,

Examples

1
2
3
4
5
6
7
8
## obtain minimal net slot
data(data.obj)
data.obj@net <- data.obj@net[,-c(5:ncol(data.obj@net))]
head(data.obj@net)

## add the foldchanges from diffexp.miRNA and diffexp.mRNA slots
data.obj<-addFoldchanges(data.obj)
head(data.obj@net)

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