DepLogo (version 1.2.1)

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, ...)

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

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

Author

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

Examples

Run this code
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