R/keepUniqWell.fn.R

Defines functions keepUniqWell.fn

Documented in keepUniqWell.fn

keepUniqWell.fn <-
function( dataIn.df, colFocus=c("Barcode","Rowpos","Colpos") )
{
#*****************************************************************#
# author: Xiaohua Douglas Zhang, 2006                             #     
# keep rows with unique wells in each plate, without side effects #  
#*****************************************************************#
  uniqData = unique(dataIn.df[, colFocus])
  uniqNames = dimnames(uniqData)[[1]]
  dataOut.df = dataIn.df[uniqNames,]
  dataOut.df
}

Try the displayHTS package in your browser

Any scripts or data that you put into this service are public.

displayHTS documentation built on May 2, 2019, 6:38 a.m.