Learn R Programming

VanillaICE (version 1.34.0)

dropDuplicatedMapLocs: 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

Run this code
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)

Run the code above in your browser using DataLab