-
Notifications
You must be signed in to change notification settings - Fork 2
/
concomp-class.Rd
108 lines (82 loc) · 3.18 KB
/
concomp-class.Rd
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/AllClasses.R, R/AllGenerics.R, R/concomp-class.R, R/concomp-constructor.R, R/concomp-getters.R, R/concomp-setters.R, R/concomp-show.R
\docType{class}
\name{concomp-class}
\alias{concomp}
\alias{concomp,GRangesList-method}
\alias{concomp,data.frame-method}
\alias{concomp-class}
\alias{eCoverage,concomp-method}
\alias{eCoverage<-,concomp-method}
\alias{eRanges,concomp-method}
\alias{eRanges<-,concomp-method}
\alias{jCoverage,concomp-method}
\alias{jCoverage<-,concomp-method}
\alias{jRanges,concomp-method}
\alias{jRanges<-,concomp-method}
\alias{show,concomp-method}
\title{Connected Component}
\usage{
concomp(obj, ...)
\S4method{concomp}{GRangesList}(obj)
\S4method{concomp}{data.frame}(obj)
\S4method{eRanges}{concomp}(object)
\S4method{jRanges}{concomp}(object)
\S4method{eCoverage}{concomp}(object)
\S4method{jCoverage}{concomp}(object)
\S4method{eRanges}{concomp}(object) <- value
\S4method{jRanges}{concomp}(object) <- value
\S4method{eCoverage}{concomp}(object) <- value
\S4method{jCoverage}{concomp}(object) <- value
\S4method{show}{concomp}(object)
}
\arguments{
\item{obj}{primary input to \code{concomp} constructor (see Details for
more information on supported signatures)}
\item{...}{other parameters to be passed to constructor}
\item{object}{a \code{concomp} object for slot setters and getters, and show method}
\item{value}{new value for \code{concomp} slot}
}
\description{
S4 class encapsulating exon and junction information for a single
"connected component" object.
}
\details{
The constructor method \code{obj} parameter can be either:
\itemize{
\item a \code{GRangesList} with two \code{GRanges} named "e" and "j"
corresponding to exon and junction ranges and coverage for a
collection of samples to be used to construct a \code{concomp} object.
Both \code{GRanges} must have one metadata for each sample
(named sequentially: 's1', 's2', ...), giving the corresponding exon or
splice junction coverages.
\item a \code{data.frame} with gene model columns: 'chr', 'seqlengths',
'gStart', 'gStop', and 'kind' (e.g. 'e' or 'j'),
as well as per-sample coverage columns: 's1', 's2', ...
}
}
\section{Methods (by generic)}{
\itemize{
\item \code{eRanges}: get \code{eRanges} slot
\item \code{jRanges}: get \code{jRanges} slot
\item \code{eCoverage}: get \code{eCoverage} slot
\item \code{jCoverage}: get \code{jCoverage} slot
\item \code{eRanges<-}: set \code{eRanges} slot
\item \code{jRanges<-}: set \code{jRanges} slot
\item \code{eCoverage<-}: set \code{eCoverage} slot
\item \code{jCoverage<-}: set \code{jCoverage} slot
}}
\section{Slots}{
\describe{
\item{\code{eRanges}}{a \code{GRanges} object containing the exonic information}
\item{\code{jRanges}}{a \code{GRanges} object containing the junction information}
\item{\code{eCoverage}}{a matrix of exon coverage values, e.g. RPKM, with
number of rows equal to the length of \code{exons}, or \code{NULL}
if not available}
\item{\code{jCoverage}}{a matrix of junction coverage values, e.g. number of
spanning reads, with number of rows equal to the length of
\code{juncs}, or \code{NULL} if not available}
}}
\author{
Patrick Kimes
}