dropDuplicatedMapLocs: Drop markers on the same chromosome having the same genomic...

Description Usage Arguments Value Examples

View source: R/methods-ArrayViews.R

Description

If there are multiple markers on the same chromosome with the same annotated position, only the first is kept.

Usage

1

Arguments

object

a container for which the methods seqnames and start are defined

Value

an object of the same class with duplicated genomic positions removed

Examples

1
2
3
4
5
6
data(snp_exp)
g <- rowRanges(snp_exp)
## duplicate the first row
g[length(g)] <- g[1]
 rowRanges(snp_exp) <- g
 snp_exp2 <- dropDuplicatedMapLocs(snp_exp)

VanillaICE documentation built on Nov. 8, 2020, 7:33 p.m.