View source: R/read_featureCounts.R
read_featureCounts | R Documentation |
Reads featureCount count or alignment summary files and optionally reshape into wide format.
read_featureCounts(path = ".", pattern, reshape = TRUE, stats = FALSE)
path |
the path to featureCounts output files, the default corresponds to the working directory. |
pattern |
regular expression for file name matching, default .counts and .summary |
reshape |
reshape into wide format with samples in rows (count matrix) |
stats |
read stats tables, default counts |
A tibble
Chris Stubben
## Not run:
ft_counts <- read_featureCounts(".")
fc <- read_featureCounts(".", stats=TRUE)
fc
fc <- read_featureCounts(".", stats=TRUE, reshape=FALSE)
fc
filter(fc, count!=0) %>%
hchart("bar", x=sample, y=count, group=status) %>%
hc_plotOptions(bar = list(stacking = "normal")) %>%
hc_yAxis(reversedStacks = FALSE)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.