splits names and creates a matrix
names_to_matrix(names, split = "\\||\\_")
vector with names
patter to use to split
matrix
Other utilities:
INTERNAL_FUNCTIONS_BY_FAMILY
,
get_UniprotID_from_fasta_header()
,
matrix_to_tibble()
,
multigroup_volcano()
,
pairs_smooth()
,
pairs_w_abline()
,
panel_cor()
,
panel_hist()
,
remove_NA_rows()
,
table_facade()
dat = c("bla_ra0/2_run0","bla_ra1/2_run0","bla_ra2/2_run0")
names_to_matrix(dat,split="\\_|\\/")
#> [,1] [,2] [,3] [,4]
#> [1,] "bla" "ra0" "2" "run0"
#> [2,] "bla" "ra1" "2" "run0"
#> [3,] "bla" "ra2" "2" "run0"