Description Usage Arguments Value Author(s)
View source: R/separate_genes.R
This function takes one column and split the the table into multiple rows based on the split character. It's specifically created for using the update_dist_genes function, after annotating with ANNOVAR.
1  | separate_genes(data, gene_col = "GENE", keep_empty = FALSE, setdt = TRUE)
 | 
data | 
 A data.frame of data.table with the a column (default="GENE") submitted to update_dist_genes() function.  | 
setdt | 
 Logical. If TRUE (default), returns an object from the class "data.table".  | 
GENE | 
 Character vector. Target-column(s) name(s).  | 
Exploded table with unique genes by row (observation) and duplicated values on the other columns.
CainĂ£ Max Couto-Silva
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.