\name{SequenceSummary-class} \Rdversion{1.1} \docType{class} \alias{SequenceSummary-class} \alias{plotBases,SequenceSummary-method} \alias{plotGC,SequenceSummary-method} \alias{plotSeqLengths,SequenceSummary-method} \title{\code{SequenceSummary} class representing the summaries of a sequence file} \description{ A sequence file read in with \code{readSeqFile} is summarized by a C call. This is a base class with slots common to both \code{\linkS4class{FASTQSummary}} and \code{\linkS4class{FASTASummary}}. This is not usually instantiated directly. Note that many accessor functions transform data in the slots into data frames. The data in the slots is mostly untransformed and less easy to work with directly, so using the accessor functions is recommended. } \section{Slots}{ \describe{ \item{\code{filename}}{the filename processed by \code{readSeqFile}.} \item{\code{base.freqs}}{a data frame of base frequencies by position. Each column is a nucleotide (there is a column for position too), and each row contains the count frequencies of bases for that position.} \item{\code{seq.lengths}}{a numeric vector of the number of sequences of a particular length (the length is the position in the vector).} \item{\code{hash}}{a numeric vector of the count frequencies of sequences (the sequences are in the name attribute).} \item{\code{hash.prop}}{a numeric value indicating the proportion of sequences that were sampled for hashing.} \item{\code{kmer}}{a data frame of k-mer frequency by position.} \item{\code{k}}{an integer indicating the length of k-mers hashed.} \item{\code{hashed}}{a logical indicating whether the sequences were hashed in \code{readSeqFile}.} \item{\code{kmers.hashed}}{a logical indicating whether the k-mers were hashed in \code{readSeqFile}.} } } \author{Vince Buffalo } \examples{ showClass("SequenceSummary") } \seealso{ \code{\link[=FASTQSummary-class]{FASTQSummary}} and \code{\link[=FASTASummary-class]{FASTASummary}} are the classes that inherit from \code{SequenceSummary}. \code{\link{readSeqFile}} is the function that takes a FASTQ or FASTA file and returns a \code{FASTQSummary} object or \code{FASTASummary} object. } \keyword{classes}