Last data update: 2014.03.03

R: "TAXset" class for TAX data
.TAXset-classR Documentation

"TAXset" class for TAX data

Description

This class provides a way to store and manipulate read-classification data. ".TAXset" is inherited by "TAXsetQ", "TAXsetF", and "TAXsetB". The user will want to use "TAXsetQ" when quality data is available, "TAXsetF" when sequence data (without quality data) is available, and "TAXsetB" when only classification and sample data are available.

Slots

TAXsetB includes Slots id, sampleID, tax, sampleData, assignmentData.

TAXsetF includes Slots id sampleID, tax, sampleData, assignmentData, sread.

TAXsetQ includes Slots id sampleID, tax, sampleData, assignmentData, sread, quality.

Methods

Methods include:

id

provides access to the id slot of object

sampleID

provides access to the sampleID slot of object

tax

provides access the tax slot of object

sampleData

provides accesss the sampleData slot of object

assignmentData

provides access the assignmentData slot of object

sread

provides access to the sread slot of object

quality

provides access to the quality slot of object

seqnames

returns the first word of the id line. Intended to extract the sequence name from other sequence information.

nsamples

returns the number of samples in an TAXset object

show

signature(object=".TAXset"): provides a brief summary of the object, including its class, number of sequences, and number of samples.

Examples

showClass(".TAXset")
showMethods(class=".TAXset")
showClass("TAXsetQ")

Results


R version 3.3.1 (2016-06-21) -- "Bug in Your Hair"
Copyright (C) 2016 The R Foundation for Statistical Computing
Platform: x86_64-pc-linux-gnu (64-bit)

R is free software and comes with ABSOLUTELY NO WARRANTY.
You are welcome to redistribute it under certain conditions.
Type 'license()' or 'licence()' for distribution details.

R is a collaborative project with many contributors.
Type 'contributors()' for more information and
'citation()' on how to cite R or R packages in publications.

Type 'demo()' for some demos, 'help()' for on-line help, or
'help.start()' for an HTML browser interface to help.
Type 'q()' to quit R.

> library(OTUbase)
Loading required package: S4Vectors
Loading required package: stats4
Loading required package: BiocGenerics
Loading required package: parallel

Attaching package: 'BiocGenerics'

The following objects are masked from 'package:parallel':

    clusterApply, clusterApplyLB, clusterCall, clusterEvalQ,
    clusterExport, clusterMap, parApply, parCapply, parLapply,
    parLapplyLB, parRapply, parSapply, parSapplyLB

The following objects are masked from 'package:stats':

    IQR, mad, xtabs

The following objects are masked from 'package:base':

    Filter, Find, Map, Position, Reduce, anyDuplicated, append,
    as.data.frame, cbind, colnames, do.call, duplicated, eval, evalq,
    get, grep, grepl, intersect, is.unsorted, lapply, lengths, mapply,
    match, mget, order, paste, pmax, pmax.int, pmin, pmin.int, rank,
    rbind, rownames, sapply, setdiff, sort, table, tapply, union,
    unique, unsplit


Attaching package: 'S4Vectors'

The following objects are masked from 'package:base':

    colMeans, colSums, expand.grid, rowMeans, rowSums

Loading required package: IRanges
Loading required package: ShortRead
Loading required package: BiocParallel
Loading required package: Biostrings
Loading required package: XVector
Loading required package: Rsamtools
Loading required package: GenomeInfoDb
Loading required package: GenomicRanges
Loading required package: GenomicAlignments
Loading required package: SummarizedExperiment
Loading required package: Biobase
Welcome to Bioconductor

    Vignettes contain introductory material; view with
    'browseVignettes()'. To cite Bioconductor, see
    'citation("Biobase")', and for packages 'citation("pkgname")'.

Loading required package: vegan
Loading required package: permute
Loading required package: lattice
This is vegan 2.4-0
================================================================================
Welcome to OTUbase version 1.22.0

Attaching package: 'OTUbase'

The following object is masked from 'package:GenomicAlignments':

    seqnames

The following object is masked from 'package:SummarizedExperiment':

    seqnames

The following object is masked from 'package:GenomicRanges':

    seqnames

The following object is masked from 'package:GenomeInfoDb':

    seqnames

> png(filename="/home/ddbj/snapshot/RGM3/R_BC/result/OTUbase/TAXset-class.Rd_%03d_medium.png", width=480, height=480)
> ### Name: .TAXset-class
> ### Title: "TAXset" class for TAX data
> ### Aliases: TAXset TAXsetB-class TAXsetF-class TAXsetQ-class TAXsetB
> ###   TAXsetF TAXsetQ
> ### Keywords: classes
> 
> ### ** Examples
> 
> showClass(".TAXset")
Class ".TAXset" [package "OTUbase"]

Slots:
                                                               
Name:                 tax           sampleID     assignmentData
Class:         data.frame          character AnnotatedDataFrame
                         
Name:          sampleData
Class: AnnotatedDataFrame

Extends: ".OTUbase"

Known Subclasses: "TAXsetB", "TAXsetF", "TAXsetQ"
> showMethods(class=".TAXset")

Function "%&%":
 <not an S4 generic function>

Function ".RsamtoolsFileList":
 <not an S4 generic function>

Function ".ShortReadFile":
 <not an S4 generic function>

Function ".asSpace":
 <not an S4 generic function>

Function ".bowtie_mismatches":
 <not an S4 generic function>

Function ".clone":
 <not an S4 generic function>

Function ".filter":
 <not an S4 generic function>

Function ".replaceSEW":
 <not an S4 generic function>

Function ".report_pdf":
 <not an S4 generic function>

Function ".srValidity":
 <not an S4 generic function>

Function ".throw":
 <not an S4 generic function>

Function ".validity":
 <not an S4 generic function>

Function "BunchKaufman":
 <not an S4 generic function>

Function "Cholesky":
 <not an S4 generic function>

Function "Schur":
 <not an S4 generic function>

Function "XString":
 <not an S4 generic function>

Function "XStringSet":
 <not an S4 generic function>
Function: abundance (package OTUbase)
object=".TAXset"


Function "all.equal":
 <not an S4 generic function>

Function "as.array":
 <not an S4 generic function>

Function "band":
 <not an S4 generic function>

Function "chol":
 <not an S4 generic function>

Function "chol2inv":
 <not an S4 generic function>

Function "clone":
 <not an S4 generic function>
Function: clusterSamples (package OTUbase)
object=".TAXset"


Function "commonColnames":
 <not an S4 generic function>

Function "compatibleStrand":
 <not an S4 generic function>

Function "constraint":
 <not an S4 generic function>

Function "constraint<-":
 <not an S4 generic function>

Function "cov2cor":
 <not an S4 generic function>

Function "crossprod":
 <not an S4 generic function>

Function "decode":
 <not an S4 generic function>

Function "determinant":
 <not an S4 generic function>

Function "diag":
 <not an S4 generic function>

Function "diag<-":
 <not an S4 generic function>

Function "dups":
 <not an S4 generic function>

Function "expm":
 <not an S4 generic function>

Function "extraColumnSlotNames":
 <not an S4 generic function>

Function "facmul":
 <not an S4 generic function>

Function "forceSymmetric":
 <not an S4 generic function>

Function "format":
 <not an S4 generic function>

Function "isDiagonal":
 <not an S4 generic function>

Function "isSymmetric":
 <not an S4 generic function>

Function "isTriangular":
 <not an S4 generic function>

Function "loadSequence":
 <not an S4 generic function>

Function "ls":
 <not an S4 generic function>

Function "lu":
 <not an S4 generic function>

Function "maxQuality":
 <not an S4 generic function>

Function "minQuality":
 <not an S4 generic function>

Function "nnzero":
 <not an S4 generic function>

Function "norm":
 <not an S4 generic function>

Function "offset":
 <not an S4 generic function>

Function "orderAsRanges":
 <not an S4 generic function>

Function "p2q":
 <not an S4 generic function>

Function "pack":
 <not an S4 generic function>

Function "print":
 <not an S4 generic function>

Function "process_self_hits":
 <not an S4 generic function>

Function "q2p":
 <not an S4 generic function>

Function "qr":
 <not an S4 generic function>

Function "qr.Q":
 <not an S4 generic function>

Function "qr.R":
 <not an S4 generic function>

Function "qr.coef":
 <not an S4 generic function>

Function "qr.fitted":
 <not an S4 generic function>

Function "qr.qty":
 <not an S4 generic function>

Function "qr.qy":
 <not an S4 generic function>

Function "qr.resid":
 <not an S4 generic function>

Function "rcond":
 <not an S4 generic function>

Function "selectSomeIndex":
 <not an S4 generic function>
Function: show (package methods)
object=".TAXset"


Function "skewpart":
 <not an S4 generic function>

Function "solve":
 <not an S4 generic function>

Function "symmpart":
 <not an S4 generic function>
Function: tax (package OTUbase)
object=".TAXset"

Function: tax<- (package OTUbase)
object=".TAXset", value="data.frame"


Function "tcrossprod":
 <not an S4 generic function>

Function "toeplitz":
 <not an S4 generic function>

Function "tril":
 <not an S4 generic function>

Function "triu":
 <not an S4 generic function>

Function "twoWayAlphabetFrequencyByQuality":
 <not an S4 generic function>

Function "unname":
 <not an S4 generic function>

Function "unpack":
 <not an S4 generic function>

Function "updateCigarAndStart":
 <not an S4 generic function>

Function "updown":
 <not an S4 generic function>

Function "upperBound":
 <not an S4 generic function>

Function "upperBoundIsStrict":
 <not an S4 generic function>

Function "writeMM":
 <not an S4 generic function>

Function "zapsmall":
 <not an S4 generic function>
> showClass("TAXsetQ")
Class "TAXsetQ" [package "OTUbase"]

Slots:
                                                               
Name:                 tax           sampleID     assignmentData
Class:         data.frame          character AnnotatedDataFrame
                                                               
Name:          sampleData            quality              sread
Class: AnnotatedDataFrame       QualityScore       DNAStringSet
                         
Name:                  id
Class:         BStringSet

Extends: 
Class ".TAXset", directly
Class "ShortReadQ", directly
Class ".OTUbase", by class ".TAXset", distance 2
Class "ShortRead", by class "ShortReadQ", distance 2
Class ".ShortReadBase", by class "ShortReadQ", distance 3
> 
> 
> 
> 
> 
> dev.off()
null device 
          1 
>