DepLogo (version 1.0)

summary.DLData: Summarizing DLData objects

Description

summary method for class "DLData". The summary includes the number of sequences, the consensus sequence and the number of sequences in object that match the consensus.

Usage

# S3 method for DLData
summary(object, delete.gaps = FALSE, ...)

Arguments

object

an object of class "DLData"

delete.gaps

if gaps should be removed from the consensus

...

further arguments passed to or from other methods

Value

a list with elements members containing the number of sequences, consensus containing the consensus sequences, and equal.consensus containing the number of sequences in object that are identical to consensus

Examples

Run this code
# NOT RUN {
seqs <- read.table(system.file("extdata", "cjun.txt", package = "DepLogo"), 
    stringsAsFactors = FALSE)
data <- DLData(sequences = seqs[, 1], weights = log1p(seqs[, 2]) )
summary(data)
# }

Run the code above in your browser using DataLab