Description Usage Arguments Value Examples
View source: R/Visualization.R
create_PCA_deconvolution
visualizes the differentiation stage predictions as PCA.
Please note that the rows of the expression data matrix
are expected to be HGNC symbols and columns are expected
to contain the samples.
1 2 3 4 5 6 7 8 9 10 | create_PCA_deconvolution(
visualization_data,
deconvolution_results,
aggregate_differentiated_stages,
confidence_threshold,
Graphics_parameters,
high_threshold,
low_threshold,
utilize_sadanandam_genes
)
|
visualization_data |
Transcriptome data that shall be visualized. Notice the convention that the row names have to contain the HGNC identifier. |
deconvolution_results |
The dataframe returned by the deconvolution analysis. |
aggregate_differentiated_stages |
Whether to aggregate the deconvolution results. Default vale FALSE. |
confidence_threshold |
Threshold at which to discard a prediction. Default value 1.1 |
Graphics_parameters |
Pheatmap visualization paramters. You can customize visualization colors. Read the vignette for more information. |
high_threshold |
Threshold at which to define a deconvolution results as 'high'. Default value 101. |
low_threshold |
Threshold at which to define a deconvolution results as 'low'. Default value 0. |
utilize_sadanandam_genes |
Whether to utilize the same genes as the Sadanandam et al publication which have been utilize to create the DECO manuscript visualizations. Default value FALSE. |
PCA plot
1 2 3 4 5 6 7 8 9 | data(deconvolution_results, envir = environment())
data(visualization_data, envir = environment())
create_PCA_deconvolution(
visualization_data = visualization_data,
deconvolution_results = deconvolution_results,
Graphics_parameters = "",
utilize_sadanandam_genes = TRUE
)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.