summary.DLData: Summarizing DLData objects

View source: R/DepLogoR.R

summary.DLDataR Documentation

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 class '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

Author(s)

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

Examples

seqs <- read.table(system.file("extdata", "cjun.txt", package = "DepLogo"), 
    stringsAsFactors = FALSE)
data <- DLData(sequences = seqs[, 1], weights = log1p(seqs[, 2]) )
summary(data)

DepLogo documentation built on May 29, 2024, 9:53 a.m.