Skip to content

Instantly share code, notes, and snippets.

View alexllc's full-sized avatar

Alex Lau alexllc

  • The University of Texas MD Anderson Cancer Center
  • Houston, TX
View GitHub Profile
#' filter_replicate_samples
#'
#' Function to filter technical replicates in TCGA samples
#' Doc: https://gist.github.com/alexllc/8dcd229ed3ad7f069e92dc30d5eac83a
#'
#' @source \url{http://gdac.broadinstitute.org/runs/stddata__2014_01_15/samples_report/READ_Replicate_Samples.html}
#' @param bcr list of barcodes
#' @param verbose print out which barcodes are kept and which ones are filtered
#'
#' @return subset of the list of barcodes