createUmiSample {umiAnalyzer} | R Documentation |
createUmiSample
Description
Method for creating a UMI sample from UMIErrorCorrect output.
Usage
createUmiSample(sampleName, sampleDir, importBam = FALSE)
Arguments
sampleName |
UMI sample object name |
sampleDir |
Path to UMI sample folders. Must be a folder generated by UMIErrorCorrect |
importBam |
Logical. Should BAM files be imported at object initialization? Default is False. |
Value
An object of class UMIsample
Examples
library(umiAnalyzer)
main = system.file('extdata', package = 'umiAnalyzer')
samples <- list.dirs(path = main, full.names = FALSE, recursive = FALSE)
s1 <- createUmiSample('s1',sampleDir = paste(main,"/",samples[1],sep=""))
[Package umiAnalyzer version 1.0.0 Index]