From 4d4d33404e77532ec625b25428d477cf7b7e5e05 Mon Sep 17 00:00:00 2001 From: Phillip Dexheimer Date: Wed, 4 Feb 2015 23:02:54 -0500 Subject: [PATCH] Added gsa.reshape.concordance.table function to gsalib --- .../variantutils/GenotypeConcordance.java | 2 +- public/gsalib/src/R/DESCRIPTION | 4 +- public/gsalib/src/R/NAMESPACE | 3 +- .../src/R/R/gsa.reshape.concordance.table.R | 20 ++++++++ .../R/man/gsa.reshape.concordance.table.Rd | 48 +++++++++++++++++++ public/gsalib/src/R/man/gsalib-package.Rd | 4 +- 6 files changed, 75 insertions(+), 6 deletions(-) create mode 100644 public/gsalib/src/R/R/gsa.reshape.concordance.table.R create mode 100644 public/gsalib/src/R/man/gsa.reshape.concordance.table.Rd diff --git a/public/gatk-tools-public/src/main/java/org/broadinstitute/gatk/tools/walkers/variantutils/GenotypeConcordance.java b/public/gatk-tools-public/src/main/java/org/broadinstitute/gatk/tools/walkers/variantutils/GenotypeConcordance.java index d87c7ec71..a9e578058 100644 --- a/public/gatk-tools-public/src/main/java/org/broadinstitute/gatk/tools/walkers/variantutils/GenotypeConcordance.java +++ b/public/gatk-tools-public/src/main/java/org/broadinstitute/gatk/tools/walkers/variantutils/GenotypeConcordance.java @@ -82,7 +82,7 @@ import java.util.*; *

* It may be informative to reshape rows of the GenotypeConcordance counts and proportions tables into separate row-major tables * where the columns indicate the COMP genotype and the rows indicate the EVAL genotype for easy comparison between the - * two callsets. This can be done with a command similar to d <- matrix(sampleRow,nrow=6,byrow=T) in R where sampleRow is the 36-value row corresponding to the sample of interest, excluding "Mismatching_Alleles". + * two callsets. This can be done with the gsa.reshape.concordance.table function in the gsalib R library. * In Excel this can be accomplished using the OFFSET function. *

*