DepLogo (version 1.0)

replaceColors: Replace colors in DLData object

Description

Replace colors in DLData object

Usage

replaceColors(data, colors)

Arguments

data

the data

colors

the new colors

Value

the modified DLData object

See Also

replaceColors

Examples

Run this code
# NOT RUN {
# 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"))
# }

Run the code above in your browser using DataLab