Description Usage Arguments Value Examples
View source: R/coverageDataSet.R
Create a CoverageDataSet containing the depth and breadth of coverage of genes in annotations
.
1 2 | coverageDataSet(bamfiles, annotations, types, sf = c(1, 1, 1, 1),
paired_end = TRUE, as_fragments = TRUE)
|
bamfiles |
A vector of characters indicating the BAM files paths. |
annotations |
An object of type |
types |
A vector of the same length as |
sf |
A vector of the same length as |
paired_end |
logical indicating whether the |
as_fragments |
logical indicating if paired-end data must paired and merged to form fragments. |
An object of class 'coverageDataSet' containing the coverage for each sample. The details of the output componets are as follow:
data |
A
|
samples |
A list containg the samples' names that are in the coverageDataSet.
|
1 2 3 4 5 6 7 8 | samples <- c("wt_rep1", "wt_rep2", "mut_rep1", "mut_rep2")
bamfiles <- system.file("extdata", paste0(samples, ".bam"),
package = "yCrypticRNAs")
data(annotations)
types <- c("wt", "wt", "mut", "mut")
scaling_factors <- c(0.069872847, 0.081113079, 0.088520251, 0.069911116)
rna_seq_signals <- coverageDataSet (bamfiles, annotations, types, scaling_factors)
rna_seq_signals
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.