View source: R/05_03_quantification_featureCounts.R
| featureCounts2se | R Documentation | 
Create a SummarizedExperiment object from featureCounts output
featureCounts2se(sample_info = NULL, fc_output = NULL)
sample_info | 
 Data frame of sample metadata created with the
functions   | 
fc_output | 
 Either a gene expression matrix generated by   | 
A SummarizedExperiment object.
data(sample_info)
mappingdir <- system.file("extdata", package="bears")
gff_path <- system.file("extdata", "Homo_sapiens.GRCh37.75_subset.gtf",
                        package="bears")
fcountsdir <- file.path(tempdir(), "fcountsdir")
if(subread_is_installed()) {
    counts <- featureCounts(sample_info, mappingdir, gff_path, fcountsdir)
    se <- featureCounts2se(sample_info, counts)
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.