Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
Message from discussion ELIMINATING DUPLICATED MARKERS

Received: by 10.42.89.20 with SMTP id e20mr11044465icm.3.1334163166496;
        Wed, 11 Apr 2012 09:52:46 -0700 (PDT)
X-BeenThere: rqtl-disc@googlegroups.com
Received: by 10.50.188.136 with SMTP id ga8ls7807337igc.0.canary; Wed, 11 Apr
 2012 09:52:45 -0700 (PDT)
Received: by 10.42.169.67 with SMTP id a3mr10361292icz.8.1334163165910;
        Wed, 11 Apr 2012 09:52:45 -0700 (PDT)
Received: by 10.42.169.67 with SMTP id a3mr10361291icz.8.1334163165901;
        Wed, 11 Apr 2012 09:52:45 -0700 (PDT)
Return-Path: <kbro...@gmail.com>
Received: from mail-iy0-f169.google.com (mail-iy0-f169.google.com [209.85.210.169])
        by gmr-mx.google.com with ESMTPS id em8si11623974igc.2.2012.04.11.09.52.45
        (version=TLSv1/SSLv3 cipher=OTHER);
        Wed, 11 Apr 2012 09:52:45 -0700 (PDT)
Received-SPF: pass (google.com: domain of kbro...@gmail.com designates 209.85.210.169 as permitted sender) client-ip=209.85.210.169;
Authentication-Results: gmr-mx.google.com; spf=pass (google.com: domain of kbro...@gmail.com designates 209.85.210.169 as permitted sender) smtp.mail=kbro...@gmail.com; dkim=pass header...@gmail.com
Received: by mail-iy0-f169.google.com with SMTP id r24so1864101iaj.0
        for <rqtl-disc@googlegroups.com>; Wed, 11 Apr 2012 09:52:45 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=gmail.com; s=20120113;
        h=content-type:mime-version:subject:from:in-reply-to:date
         :content-transfer-encoding:message-id:references:to:x-mailer;
        bh=w91rqK61FWOvGqsZxNbuTUqF+KNStyMWoGfi1HbenJo=;
        b=UDKaBXKBJOUqcvBOTfuLPdtu6NccRrlzPVA+SiMj+T32z6hebhHB2DBGJ5oUIpeyrT
         H3qrsRVsRkZCC2Ois5NcNi/hXfp6JoooV0hBQ2mwOLwIcIpeuu1g62VUzpvVyeU6+SIy
         tI7CKHG12fG4OqWHYRfaC6TJDlz2ZVeaOgTPF8KlBVyUyKmrUK6o2od8m8Y7juh4gm43
         i1tw80rokg3XdsD+x7PBAurHtgMuINwFfVSKPpEIsyPNCEvYP7gQJym+p+LNBp8J4WGt
         ZkLkEpFryk5ZlG8k535eS32ZX1DMFiNkM7TXPJehV6qXtKgYUSSo8KCJanxPiQWBB8K+
         jcjg==
Received: by 10.42.166.194 with SMTP id p2mr10081385icy.19.1334163165839;
        Wed, 11 Apr 2012 09:52:45 -0700 (PDT)
Return-Path: <kbro...@gmail.com>
Received: from fig.biostat.wisc.edu (fig.biostat.wisc.edu. [144.92.237.145])
        by mx.google.com with ESMTPS id ke7sm9030507igc.10.2012.04.11.09.52.44
        (version=TLSv1/SSLv3 cipher=OTHER);
        Wed, 11 Apr 2012 09:52:44 -0700 (PDT)
Content-Type: text/plain; charset=iso-8859-1
Mime-Version: 1.0 (Apple Message framework v1257)
Subject: Re: [Rqtl-disc] ELIMINATING DUPLICATED MARKERS
From: Karl Broman <kbro...@gmail.com>
In-Reply-To: <0caafb51-c30e-4abb-8811-515781377...@2g2000yqk.googlegroups.com>
Date: Wed, 11 Apr 2012 11:52:43 -0500
Content-Transfer-Encoding: quoted-printable
Message-Id: <ED49D614-BA28-4A82-B994-482A9BF94...@gmail.com>
References: <0caafb51-c30e-4abb-8811-515781377...@2g2000yqk.googlegroups.com>
To: rqtl-disc@googlegroups.com
X-Mailer: Apple Mail (2.1257)

unlist(dup) will create a vector with just the names of the duplicate =
markers.
You can then use drop.markers to remove them from the cross object.

  snpmap.nodup <- drop.markers(snpmap, unlist(dup))

karl

 =20
On Apr 11, 2012, at 11:04 AM, Cinthya wrote:

> Hello group,
>=20
> Please can anyone share with me the code to eliminate duplicated
> markers. I already identified them using:
>=20
> print(dup <- findDupMarkers(snpmap, exact.only=3DFALSE))
>=20
> but I do not know how to eliminate the duplicated ones and keep the
> marker that represents the group.
>=20
> Thanks for any help,
> Cinthya
>=20
> --=20
> You received this message because you are subscribed to the Google =
Groups "R/qtl discussion" group.
> To post to this group, send email to rqtl-disc@googlegroups.com.
> To unsubscribe from this group, send email to =
rqtl-disc+unsubscribe@googlegroups.com.
> For more options, visit this group at =
http://groups.google.com/group/rqtl-disc?hl=3Den.
>=20