Simplify binary matrix to one column per gene that counts any alteration type as 1Source:
This will reduce the number of columns in your binary matrix, and the resulting data frame will have only 1 col per gene, as opposed to separate columns for mutation/cna/fusion.
a 0/1 matrix of gene alterations
One or more column names (quoted or unquoted) in data to be retained in resulting data frame. Default is NULL.