Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

How to use R packet ggplot2 to draw a dumbbell diagram to show the CNV mutation frequency of the gene

2025-01-18 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Development >

Share

Shulou(Shulou.com)06/01 Report--

This article is about how to use R packet ggplot2 to draw a dumbbell map to show the frequency of gene CNV mutation. The editor thinks it is very practical, so share it with you as a reference and follow the editor to have a look.

The dumbbell diagram drawn by R packet ggplot2 shows the CNV mutation frequency of the gene.

Usage: $Rscript scripts/cnv_dumbbell_plot.r-husage: scripts/cnv_dumbbell_plot.r [- h]-c CNV_DATA-g GENE_SYMBOL [- H HEIGHT] [- W WIDTH] [- o OUTDIR] [- p PREFIX] CNV_Dumbbell_plot: arguments:-h,-help show this help message and exit-c CNV_DATA -- cnv_data CNV_DATA input cnv data file path [required]-- g GENE_SYMBOL,-- gene_symbol GENE_SYMBOL Enter the file path that contains the gene symbol [required]-H HEIGHT,-- height HEIGHT the height of dumbbell plot [optional,default 6]-W WIDTH -- width WIDTH the width of dumbbell plot [optional,default 8]-o OUTDIR,-- outdir OUTDIR output file directory [optional,default cwd]-p PREFIX,-- prefix PREFIX out file name prefix [optional,default m6a_cnv] parameter description:

-C input the result file of copy number variation data analyzed by GISTIC software:

Gene Symbol

Locus ID

Cytoband

TCGA-3Z-A93Z-01A-11D-A36W-01

TCGA-6D-AA2E-01A-11D-A36W-01

TCGA-A3-3306-01A-01D-0858-01

TCGA-A3-3307-01A-01D-0858-01

TCGA-A3-3308-01A-02D-1322-01

ACAP3

116983

1p36.33

-0.001

0.002

0.009

0.015

0.005

ACTRT2

140625

1p36.32

-0.001

0.002

0.009

0.015

0.005

-g enter the gene file used to draw the dumbbell map:

ID

Group

RBM15

W

RBM15B

W

METTL14

W

-H and-W specify the height and width of the generated picture. The default height is 6 and the width is 8.

Use examples: Rscript. / scripts/cnv_dumbbell_plot.r-g.. / m6a.tsv\-c. / 01.TCGA_data/TP_CNV_Gistic2_Level_4/all_data_by_genes.txt Thank you for your reading! This is the end of the article on "how to use R packet ggplot2 to draw a dumbbell map to show the CNV mutation frequency of the gene". I hope the above content can be of some help to you, so that you can learn more knowledge. if you think the article is good, you can share it for more people to see!

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Development

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report