pgxFreqplot | R Documentation |
Thie function plots the frequency of deletions and duplications
pgxFreqplot(
data,
chrom = NULL,
layout = c(1, 1),
filters = NULL,
circos = FALSE,
assembly = "hg38"
)
data |
CNV frequency object returned by the |
chrom |
A vector specifying which chromosomes to plot. If NULL, the plot will cover the entire genome. If specified, the frequencies are plotted with one panel for each chromosome. Default is NULL. |
layout |
Number of columns and rows in plot. Only used in plot by chromosome. Default is c(1,1). |
filters |
Index or string value indicating which filter to plot. The length of filters
is limited to one if the parameter |
circos |
A logical value indicating whether to return a circos plot. If TRUE, it returns a circos plot that can display and compare multiple filters. Default is FALSE. |
assembly |
A string specifying the genome assembly version to apply to CNV frequency plotting. Allowed options are "hg19" and "hg38". Default is "hg38". |
The binned CNV frequency plot
## load necessary data (this step can be skipped in real implementation)
data("hg38_cytoband")
## get frequency data
freq <- pgxLoader(type="cnv_frequency", output ='pgxfreq', filters="NCIT:C3512")
## visualize
pgxFreqplot(freq)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.