
getBamInfo(sample_info, yieldSize = NULL, BPPARAM = MulticoreParam(1))
data.frame
with sample information including
mandatory character columns “sample_name” and “file_bam”.NULL
for all recordsBiocParallelParam
for processing samples in
parallel, defaults to MulticoreParam(1)
sample_info
with additional columns “paired_end”,
“read_length”, “frag_length”, and “lib_size”
if yieldSize
is NULL
yieldSize
.
Note that library size can only be obtained if yieldSize
is NULL.
dir <- system.file("extdata", package = "SGSeq")
si$file_bam <- file.path(dir, "bams", si$file_bam)
si <- si[, c("sample_name", "file_bam")]
si_complete <- getBamInfo(si)
Run the code above in your browser using DataLab