Description Usage Arguments Value Author(s) Examples
View source: R/loadBam_function.R
Load BAM files into R session using a targets specification.
1 |
targets |
A data frame containing sample, bam and experimental factors columns |
cores |
Number of processors to use |
libType |
Options are: "SE" or "PE" |
strandMode |
Options are: 0,1,2. See ?strandMode for more information |
A list of GAlignments or GAlignmentPairs . Each element of the list correspond to a samples BAM file.
Estefania Mancini, Andres Rabinovich, Javier Iserte, Marcelo Yanovsky, Ariel Chernomoretz
1 2 3 4 5 6 7 8 9 10 11 12 | # Define bam files, sample names and experimental factors for targets.
#bamFileNames <- c( "A_C_0.bam", "A_C_1.bam", "A_C_2.bam",
# "A_D_0.bam", "A_D_1.bam", "A_D_2.bam" )
#targets <- data.frame(
# row.names = paste0('Sample_',c(1:6)),
# bam = system.file( 'extdata', bamFileNames, package="ASpli" ),
# factor1 = c( 'C','C','C','D','D','D') )
# Load reads from bam files
#bams <- loadBAM( targets )
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.