Description Usage Arguments Value Examples
View source: R/PrepareBam_EP.R
Prepares the information contained in .bam files to be analyzed by EventPointer
1 2 | PrepareBam_EP(Samples, SamplePath, Ref_Transc = "Ensembl",
fileTransc = NULL, cores = 1, Alpha = 2)
|
Samples |
Name of the .bam files to be analyzed (Sample1.bam,Sample2.bam,...,etc). |
SamplePath |
Path where the bam files are stored. |
Ref_Transc |
Reference transcriptome used to name the genes found in bam files. Options are: Ensembl, UCSC or GTF. |
fileTransc |
Path to the GTF reference transcriptome ff Ref_Transc is GTF. |
cores |
Number of cores used for parallel processing. |
Alpha |
Internal SGSeq parameter to include or exclude regions |
SGFeaturesCounts object. It contains a GRanges object with the corresponding elements to build the different splicing graphs found and the counts related to each of the elements.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 | ## Not run:
# Obtain the samples and directory for .bam files
BamInfo<-si
Samples<-BamInfo[,2]
PathToSamples <- system.file('extdata/bams', package = 'SGSeq')
PathToGTF<-paste(system.file('extdata',package='EventPointer'),'/FBXO31.gtf',sep='')
# Run PrepareBam function
SG_RNASeq<-PrepareBam_EP(Samples=Samples,
SamplePath=PathToSamples,
Ref_Transc='GTF',
fileTransc=PathToGTF,
cores=1)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.