View source: R/gene-level-changes.R
gene_level_changes | R Documentation |
This maps protein-coding genes onto copy-number segmentation from FACETS output derives the copy-number status from that, based on the integer copy number. Additionally, the copy-number log-ratio of the SNPs falling insided the gene boundaries are used to perform a Z-test against the dipLogR baseline.
gene_level_changes(facets_output, genome = c("hg19", "hg38"), algorithm = c("em", "cncf"))
facets_output |
Full FACETS output from |
genome |
Genome build. |
algorithm |
Choice between FACETS |
data.frame
for all genes mapping onto a segment in the output segmentation, with the columns:
median_cnlr_seg
: Median copy-number log-ratio for segment.
genes_on_seg
: Protein-coding genes on segment.
gene_snps
: Median copy-number log-ratio for segment.
gene_het_snps
: Median copy-number log-ratio for segment.
spans_segs
: Boolean indicating whether the gene boundaries map onto different segments.
cn_state
: Label for coyp-number configuration.
tsg
: Boolean indicating whether gene is a tumor suppressor.
## Not run: gene_level_changes(test_facets_output, 'hg38', 'em') ## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.