infer_strandedness | R Documentation |
Infer library strandedness
infer_strandedness(
mapping_passed = NULL,
bedpath = NULL,
mappingdir = "results/04_read_mapping",
sample_n = 4e+05
)
mapping_passed |
Metadata of samples that passed mapping QC.
This can be obtained with |
bedpath |
Path to BED file. GFF files can be converted to BED with
|
mappingdir |
Directory where .bam files are stored. |
sample_n |
Numeric indicating the number of reads to sample from .bam file to infer strandedness. Default: 400000. |
A data frame with sample metadata as in mapping_passed, but with an additional column named 'Orientation' containing library strandedness for each BioProject.
data(sample_info)
mapping_passed <- sample_info[, -grep("Orientation", names(sample_info))]
bedpath <- system.file("extdata", "Homo_sapiens.GRCh37.75_subset.bed",
package="bears")
mappingdir <- system.file("extdata", package = "bears")
if(rseqc_is_installed()) {
s <- infer_strandedness(mapping_passed, bedpath, mappingdir)
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.