calcDatasetSpecificity | R Documentation |
This score represents the relative magnitude of the
dataset-specific components of each factor's gene loadings compared to the
shared components for two datasets. First, for each dataset we calculate the
norm of the sum of each factor's shared loadings (W
) and
dataset-specific loadings (V
). We then determine the ratio of these two
values and subtract from 1... TODO: finish description.
calcDatasetSpecificity(
object,
dataset1,
dataset2,
doPlot = FALSE,
do.plot = doPlot
)
object |
liger object with factorization results. |
dataset1 |
Name of first dataset. Required. |
dataset2 |
Name of second dataset. Required. |
doPlot |
Logical. Whether to display a barplot of dataset specificity
scores (by factor). Default |
do.plot |
Deprecated. Use |
List containing three elements.
pct1 |
Vector of the norm of each metagene factor for dataset1. |
pct2 |
Vector of the norm of each metagene factor for dataset2. |
pctSpec |
Vector of dataset specificity scores. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.