This function assumes that STAR aligner has been run with the
--quantMode GeneCounts option. It simply reads in the data
files, one-per-sample, into a matrix with rownames corresponding
to the gene names in the STAR output and column names that are
the file names passed to the function as the first parameter.
The file names for each of the .tab files from STAR.
Which column from the STAR output to use. See details section for more information.
The choice of
quant is based on how STAR interprets the
reads relative to strandedness of the protocol used to produce
the data. In particular,
unstranded is used for an
FRaligned is for when the first read
is in the same direction as the strand of the mRNA, and
SRaligned is for when the second read is in the same
direction as the strand of the mRNA.
A matrix of counts, with genes from the STAR output on the rownames and file names on the columns.
1 2 3 4 5 6 7
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.