dropDuplicatedMapLocs {VanillaICE} | R Documentation

## Drop markers on the same chromosome having the same genomic coordinates

### Description

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

### Usage

    dropDuplicatedMapLocs(object)

### 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

    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)

[Package VanillaICE version 1.50.0 Index]