Description Usage Arguments Value See Also Examples
This function is for interactive purposes to inspect the read counts. The first column corresponds to feature id and all other columns correspond to read counts for each sample.
1 2 3 4 5 6 7 8 9 10 | show_counts(x)
## Default S3 method:
show_counts(x)
## S3 method for class 'fpkm_counts'
show_counts(x)
## S3 method for class 'raw_counts'
show_counts(x)
|
x |
An object of class |
An object of class data.table
containing the feature and
associated read counts for each sample in a tabular format.
rnaseq
limma_dge
edger_dge
as.eset
gather_counts
construct_design
construct_contrasts
volcano_plot
write_dge
density_plot
1 2 3 4 5 6 7 8 9 10 11 12 13 | path = system.file("tests", package="ganalyse")
# ----- fpkm ----- #
fpkm_path = file.path(path, "fpkm", "annotation.txt")
fpkm_obj = rnaseq(fpkm_path, format="fpkm", experiment="sample")
fpkm_counts = gather_counts(fpkm_obj, by="gene-id", log_base=2L)
head(show_counts(fpkm_counts))
# ----- raw ----- #
raw_path = file.path(path, "raw", "annotation.txt")
raw_obj = rnaseq(raw_path, format="raw", experiment="sample")
raw_counts = gather_counts(raw_obj, by="gene-id", threshold=1L)
head(show_counts(raw_counts))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.