dropDuplicatedMapLocs {VanillaICE} | R Documentation |
If there are multiple markers on the same chromosome with the same annotated position, only the first is kept.
dropDuplicatedMapLocs(object)
object |
a container for which the methods seqnames and start are defined |
an object of the same class with duplicated genomic positions removed
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)