Description Usage Arguments Examples
View source: R/exon_annotation_functions.R
Create JSON file for input into St. Jude Genome Paint
1 | genome_paint_format(df, fusion_genes_GR)
|
df |
dataframe for a single fusion with the breakpoint of the fusion-genes divided into 4 columns, chromosome and position for each gene in the fusion. |
fusion_genes_GR |
fusion_genes_GR is granges list object that contains genes that involved in the fusions in the input dataframe |
1 2 3 4 5 6 7 8 9 10 11 12 13 | ## Not run:
genesGR <- transcriptsBy(Grch37.txdb, by="gene")
fusion.df <- data.frame(Fusion.Category="CBFB-MYH11",
FusionID="My Fusion Name",
chromosomes_A="chr16",
pos_A=00000100,
chromosomes_B="chr16",
pos_B=00000200)
formatted <- genome_paint_format(df=fusion.df, fusion_genes_GR = genesGR)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.