Description Usage Arguments Value Examples
View source: R/cluster_expression.R
Cluster genes according to reciprocal correlations, then iteratively cut tree (bottom up)
until one cluster is the most expressed or tied for expression across all samples.
Uses hcluster
from amap package for clustering
1 2 3 |
data |
A data.frame or numeric matrix with one row per exon and one column per sample, containing the expression values of each exon. |
exonID |
A data.frame with the following columns.
|
exceptions |
Integer. Sets the maximum number of samples in which the constitutive exon group does not need to be the most expressed one. Defaults to 10% of the dataset. |
signDigits |
An integer. Number of digits rounded from expression scores for ranking calculations. |
distMethod |
The distance metric used by the clustering algorithm (default: correlation), see function |
link |
Agglomeration method used by the clustering algorithm (default: complete), see function |
nbproc |
Integer. Number of subprocess for parallelization (default: 1), see function |
A data.frame with the following columns.
Gene ID of each exon.
Numeric ID for each exon group detected.
Exon ID.
Gene class. Can be either spliced (isoforms detected), unspliced (no isoforms detected) or single_expressed_exon (only one exon present in the gene).
Identifies whether the exon group is constitutive (main gene) or facultative (isoform).
Identifier for each exon group detected. Ends in '_con' for constitutive and '_fac' for facultative exons.
1 | ExonAssignment = ClusterExons(data = SIRV_data$tpm, exonID = SIRV_data$ID)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.