View source: R/reformat_fusion.R
reformat_fusion | R Documentation |
create_gene_binary
function.Enables users to reformat fusions files so that each fusion is listed as one row with two hugo-symbol
sites instead of two rows, one for each site. This is the required format for the create_gene_binary
function.
reformat_fusion(fusions)
fusions |
a data frame of fusion/structural variants that occur in a cohort. There should be a |
a data frame with sample_id
, site1hugo_symbol
, and site2hugo_symbol
and fusion
columns. This should match the format
of the gnomeR::sv
dataset.
sv_long1 <- gnomeR::sv_long %>%
rename_columns() %>%
reformat_fusion()
head(sv_long1)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.