R/read_picard.R

Defines functions read_picard

read_picard <- function(path,
                        verbose=TRUE){
    
    messager("Reading picard report.",v=verbose)
    dat <- data.table::fread(path,
                              skip = "LIBRARY",
                              fill = TRUE,
                              nrows = 1)
    dat[,path:=path]
    return(dat)
}
neurogenomics/EpiCompare documentation built on Oct. 18, 2024, 11:04 p.m.