R/lineup2 is an R package with tools for detecting and correcting sample mix-ups between two sets of measurements, such as between gene expression data on two tissues. It's a revised version of lineup, to be more general and not so closely tied to the R/qtl package.
You can install R/lineup2 from CRAN:
A vignette describing the use of the package is available
on the web.
Or view it from within R by loading the package and then using the
library(lineup2) vignette("lineup2", package="lineup2")
This package is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 3, as published by the Free Software Foundation.
This program is distributed in the hope that it will be useful, but without any warranty; without even the implied warranty of merchantability or fitness for a particular purpose. See the GNU General Public License for more details.
A copy of the GNU General Public License, version 3, is available at https://www.r-project.org/Licenses/GPL-3