msviperAnnot {viper}R Documentation

msVIPER annotation change

Description

This function changes the annotation of genes in msviper objects

Usage

msviperAnnot(mobj, annot, complete = TRUE)

Arguments

mobj

msviper object generated by msviper function

annot

Vector os character strings containing the gene names and gene identifiers as vector names attribute

complete

Logical, whether the signature and target names should be also transformed

Value

msviper object with updated annotations

See Also

msviper

Examples

data(bcellViper, package="bcellViper")
sig <- rowTtest(dset, "description", "CB", "N")$statistic
mra <- msviper(sig, regulon)
tmp <- unique(c(names(mra$regulon), rownames(mra$signature)))
annot <- 1:length(tmp)
names(annot) <- tmp
plot(mra, cex=.7)
mra <- msviperAnnot(mra, annot)
plot(mra, cex=.7)

[Package viper version 1.20.0 Index]