interval_union(genomeIntervals)
interval_union()所属R语言包:genomeIntervals
Genome interval set operations
基因组间隔设置操作
译者:生物统计家园网 机器人LoveR
描述----------Description----------
Compute interval set operations on "Genome_intervals" or "Genome_intervals_stranded" objects.
计算间隔"Genome_intervals"或"Genome_intervals_stranded"对象集合操作。
用法----------Usage----------
## S4 method for signature 'Genome_intervals'
interval_union(x, ...)
## S4 method for signature 'Genome_intervals_stranded'
interval_union(x, ...)
## S4 method for signature 'Genome_intervals'
interval_complement(x)
## S4 method for signature 'Genome_intervals_stranded'
interval_complement(x)
## S4 method for signature 'Genome_intervals'
interval_intersection(x,...)
## S4 method for signature 'Genome_intervals_stranded'
interval_intersection(x,...)
参数----------Arguments----------
参数:x
A "Genome_intervals" or "Genome_intervals_stranded" object.
一个"Genome_intervals"或"Genome_intervals_stranded"对象。
参数:...
Optionally, additional objects of the same class as x.
或者,为x同一类的其他对象。
Details
详情----------Details----------
Wrappers calling the corresponding functions of the package intervals by same seq_name, inter_base and if needed strand. Note that the union of single input object x returns the reduced form of x, i.e. the interval representation of the covered set.
包装调用相应的功能包intervals由seq_name,inter_base“如果需要的话strand。需要注意的是单输入对象的工会x返回x的简化形式,即覆盖集的间隔表示。
值----------Value----------
A single object of appropriate class, representing the union, complement or intersection of intervals computed over entries with same seq_name, inter_base and also strand if all passed objects are of the class "Genome_intervals_stranded".
一个适当的类的单个对象,代表工会,补充或以上条目计算的时间间隔相同seq_name,inter_base和strand如果全部通过对象类的<X路口>
参见----------See Also----------
interval_union, interval_complement, interval_intersection and reduce from the package intervals.
interval_union,interval_complement,interval_intersection和reduce包intervals。
举例----------Examples----------
## load toy examples[#装载玩具的例子。]
data(gen_ints)
## content of i object[#我反对的内容]
i
## complement[#补充]
interval_complement(i)
## reduced form (non-overlapping interval representation of the covered set)[#减少表格(非重叠覆盖集的间隔表示)]
interval_union(i)
## union[#工会]
interval_union(i[1:2,], i[1:4,])
# map to genome intervals and union again[映射到基因组的间隔和工会再次]
i.nostrand = as(i,"Genome_intervals")
interval_union(i.nostrand)
## intersection with a second object[#第二个对象的交点]
# print i and j in closed interval notation[打印在闭区间表示i和j]
close_intervals(i)
close_intervals(j)
# interval_intersection[interval_intersection]
interval_intersection(i,j)
#interval intersection non-stranded[间隔交叉口非股]
interval_intersection(i.nostrand, as(j, "Genome_intervals"))
转载请注明:出自 生物统计家园网(http://www.biostatistic.net)。
注:
注1:为了方便大家学习,本文档为生物统计家园网机器人LoveR翻译而成,仅供个人R语言学习参考使用,生物统计家园保留版权。
注2:由于是机器人自动翻译,难免有不准确之处,使用时仔细对照中、英文内容进行反复理解,可以帮助R语言的学习。
注3:如遇到不准确之处,请在本贴的后面进行回帖,我们会逐渐进行修订。
|