replaceColors: Replaces colors in DLData object

Description Usage Arguments Value Author(s) See Also Examples

View source: R/DepLogoR.R

Description

Replaces colors in DLData object

Usage

1

Arguments

data

the data

colors

the new colors

Value

the modified DLData object

Author(s)

Jan Grau <grau@informatik.uni-halle.de>

See Also

replaceColors

Examples

1
2
3
4
5
6
# read data and create DLData object
seqs <- read.table(system.file("extdata", "cjun.txt", package = "DepLogo"), 
    stringsAsFactors = FALSE)
data <- DLData(sequences = seqs[, 1], weights = log1p(seqs[, 2]) )

replaceColors(data, c("red", "green", "blue", "yellow"))

DepLogo documentation built on April 17, 2021, 1:07 a.m.