Learn R Programming

umiAnalyzer (version 1.0.0)

createUmiSample: 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

Run this code
# NOT RUN {
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=""))

# }

Run the code above in your browser using DataLab