Extracts uniprot ID
get_UniprotID_from_fasta_header(df, idcolumn = "protein_Id")
data.frame
columns to extract uniprot id's from
data.frame
Other utilities:
INTERNAL_FUNCTIONS_BY_FAMILY
,
matrix_to_tibble()
,
multigroup_volcano()
,
names_to_matrix()
,
pairs_smooth()
,
pairs_w_abline()
,
panel_cor()
,
panel_hist()
,
remove_NA_rows()
,
table_facade()
bb <- prolfqua_data('data_ionstar')$filtered()
#> Column added : nr_peptide_Id_IN_protein_Id
tmp <- prolfqua::separate_hierarchy(bb$data,old2new( bb$config))
tmp$UniprotID <- NULL
tmp <- get_UniprotID_from_fasta_header(tmp, idcolumn = "top_protein")
#> Warning: Expected 2 pieces. Additional pieces discarded in 5 rows [47, 65, 72, 89, 133].
#> Warning: Expected 3 pieces. Missing pieces filled with `NA` in 5 rows [47, 65, 72, 89,
#> 133].
stopifnot("UniprotID" %in% colnames(tmp))