Last data update: 2014.03.03

R: Class for storing GFF-like data
aGFF-classR Documentation

Class for storing GFF-like data

Description

The GFF format is quite versatile while remaining simple. This class simply stores the annotation associated with a set of GFF files from the same regions of the genome along with some information about the samples from which the data came and the data (from the "score" column of the GFF file) themselves.

Objects from the Class

Objects can be created by calls of the form new("aGFF", ...). Also, the read.resultsGFF() function returns aGFF objects.

Slots

annotation:

Object of class "data.frame" with two columns absolutely necessary, "Chromosome" and "Location". Other columns can be included.

data:

Object of class "matrix" of the same number of rows as the annotation slot and the same number of columns as the number of rows in the samples slot, containing data for later analysis

samples:

Object of class "data.frame" for describing the samples, one row per sample

Methods

plot

signature(x = "aGFF"): to plot a region along the genome.

print

signature(x = "aGFF"): simple method to display summary of aGFF object

show

signature(object = "aGFF"): simple method to display summary of aGFF object

Author(s)

Sean Davis

See Also

read.resultsGFF andaGFFCalc-class

Examples

# Load an example
data(example.agff)
example.agff

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(ACME)
Loading required package: Biobase
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

Welcome to Bioconductor

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

> png(filename="/home/ddbj/snapshot/RGM3/R_BC/result/ACME/aGFF-class.Rd_%03d_medium.png", width=480, height=480)
> ### Name: aGFF-class
> ### Title: Class for storing GFF-like data
> ### Aliases: aGFF-class plot,aGFF-method print,aGFF-method show,aGFF-method
> ### Keywords: classes
> 
> ### ** Examples
> 
> # Load an example
> data(example.agff)
> example.agff
ACMESet (storageMode: lockedEnvironment)
assayData: 190181 features, 2 samples 
  element names: exprs 
protocolData: none
phenoData
  sampleNames: testsamp1 testsamp2
  varLabels: fullfnames
  varMetadata: labelDescription
featureData
  featureNames: 74065 74066 ... 103913 (190181 total)
  fvarLabels: chromosome source ... comment (8 total)
  fvarMetadata: labelDescription
experimentData: use 'experimentData(object)'
Annotation:  
> 
> 
> 
> 
> 
> dev.off()
null device 
          1 
>