summary.DLData: Summarizing DLData objects

Description Usage Arguments Value Author(s) Examples

View source: R/DepLogoR.R

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

1
2
## 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

1
2
3
4
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 April 17, 2021, 1:07 a.m.