View source: R/CNV_htmp_gloc.R
CNV_htmp_gloc | R Documentation |
Generates heatmap of sciCNV profiles, plotted by Genomic location (gloc)
CNV_htmp_gloc( CNVmat, clustering = FALSE, clustering.type = NA, sorting = TRUE, CNVscore = NULL, cluster.lines = NULL, breakGloc, No.test )
CNVmat |
copy number variation matrix |
clustering |
TRUE/FALSE variable specifying whether to cluster cells based on their CNV similarities. Default is "FALSE" |
clustering.type |
Variable specifying the clustering method to be used in generating the heatmap. Possible options are "pearson", "euclidean", " spearman", ... "original" (retains the original cell order without unsupervised clustering). Default is "pearson". Only enabled when clustering = "TRUE" |
sorting |
TRUE/FALSE variable specifying whether to sort cells based on their tumor CNV score from the largest to smallest tumor scores. Default is FALSE. |
CNVscore |
is the tumor CNV score matrix for all cells (possibly ranked within clusters). Only used when sorting.clusters = TRUE. |
cluster.lines |
is a list of values which can be used to separate cell clusters within the population; only used if multiple clusters present |
breakGloc |
is a set of values each defines a vertical line that separates chromosomes |
No.test |
number of test cells included in the data; can be used to delineate the populations of test and control cells in the heatmap |
The output is the heatmap of sciCNV matrix for test and control cells against genomic location
Please refer to the reference and supplemental materials described in the README for additional details.
Ali Mahdipour-Shirayeh, Princess Margaret Cancer Centre, University of Toronto
CNVmat <- system.file("extdata", "Sample_CNV_matrix.txt", package="sciCNV") breakGloc <- system.file("extdata", "Sample_breakGloc.txt", package = "sciCNV") CNV_htmp_gloc(CNVmat, breakGloc=breakGloc, sorting = FALSE, No.test=20)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.