msviperAnnot {viper} | R Documentation |
This function changes the annotation of genes in msviper objects
msviperAnnot(mobj, annot, complete = TRUE)
mobj |
msviper object generated by |
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 |
msviper object with updated annotations
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)