segData-class(segmentSeq)
segData-class()所属R语言包:segmentSeq
Class "segData"
类“segData”
译者:生物统计家园网 机器人LoveR
描述----------Description----------
The segData class contains data about potential
segData类包含有关潜在的数据
类的对象----------Objects from the Class----------
Objects can be created by calls of the form new("segData", ..., seglens). However, more usually they will be created by calling the processAD function.
创建对象可以通过检测的形式new("segData", ..., seglens)。然而,他们更通常将创建通过调用processAD功能。
插槽----------Slots----------
data: Object of class DataFrame. Contains the number of counts observed for each sample in each potential
data类DataFrame的对象。包含每个样品观察计数在每一个潜在的数
libsizes: Object of class "numeric". The
libsizes类"numeric"的对象。 “
replicates: Object of class "factor". The
replicates类"factor"的对象。 “
coordinates: Object of class "data.frame". A GRanges object defining the
coordinates类"data.frame"的对象。一个GRanges对象定义
Details
详情----------Details----------
The @coordinates slot contains information on each of the potential segments; specifically, chromosome, start and end of the segment, together. Each row of the @coordinates slot should correspond to the same row of the @data slot.
@coordinates插槽包含上每个潜在分部的信息;具体而言,染色体,开始和结束段,一起。 @coordinates插槽的每一行对应到同一行@data插槽。
In almost all cases objects of this class should be produced by the processAD function.
在几乎所有情况下,这个类的对象,必须出示由processAD功能。
方法----------Methods----------
Methods 'new', 'dim', '[' and 'show' have been defined for this class.
方法新的dim,[和显示已为这个类的定义。
作者(S)----------Author(s)----------
Thomas J. Hardcastle
参见----------See Also----------
processAD, the function that will most often be used to create objects of this class. classifySeg, an empirical Bayesian method for defining a segmentation based on a segData object.
processAD,将最经常被用来创建这个类的对象的功能。 classifySeg,实证界定根据上segData对象分割,贝叶斯方法。
举例----------Examples----------
# Define the chromosome lengths for the genome of interest.[定义感兴趣的基因组染色体长度。]
chrlens <- c(2e6, 1e6)
# Define the files containing sample information.[定义文件包含样本信息。]
datadir <- system.file("extdata", package = "segmentSeq")
libfiles <- c("SL9.txt", "SL10.txt", "SL26.txt", "SL32.txt")
# Establish the library names and replicate structure.[建立图书馆的名称和复制结构。]
libnames <- c("SL9", "SL10", "SL26", "SL32")
replicates <- c(1,1,2,2)
# Process the files to produce an 'alignmentData' object.[处理文件,以生产alignmentData“对象。]
alignData <- readGeneric(file = libfiles, dir = datadir, replicates =
replicates, libnames = libnames, chrs = c(">Chr1", ">Chr2"), chrlens =
chrlens, gap = 100)
# Process the alignmentData object to produce a 'segData' object.[处理的alignmentData的对象产生一个segData对象。]
sD <- processAD(alignData, cl = NULL)
# Estimate prior parameters for the segData object.[估计事先为segData对象参数。]
转载请注明:出自 生物统计家园网(http://www.biostatistic.net)。
注:
注1:为了方便大家学习,本文档为生物统计家园网机器人LoveR翻译而成,仅供个人R语言学习参考使用,生物统计家园保留版权。
注2:由于是机器人自动翻译,难免有不准确之处,使用时仔细对照中、英文内容进行反复理解,可以帮助R语言的学习。
注3:如遇到不准确之处,请在本贴的后面进行回帖,我们会逐渐进行修订。
|