featureCounts <- function( alignments , annotation , outname , pairCounts=FALSE , pairInsertRange=NULL , pairAlignmentRequired=FALSE , minQual=0 , stranded=0, promiscuousReads=FALSE , ignoreDup=FALSE , featureType="exon" , groupBy="gene_name" , groupByFeature=FALSE, threads=getOption("threads",1L) ){
cmdString <- paste(
"featureCounts",
"-Q", minQual,
"-a", annotation,
"-o", outname,
"-t", featureType,
"-g", groupBy,
"-T", threads,
"-s", stranded,
if(pairCounts){"-p"},
if(!is.null(pairInsertRange)){paste("-P","-d",pairInsertRange[1],"-D",pairInsertRange[2])},
if(pairAlignmentRequired){"-B"},
if(ignoreDup){"--ignoreDup"},
if(promiscuousReads){"-O"},
if(groupByFeature){"-f"},
paste(alignments,collapse=" ")
)
res <- cmdRun(cmdString)
return(outname)
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.