Adding the species name to every protein.
This makes more sense if there are more than one species in the dataset,
which must be specified in the
pathogen option. Influenza is a special
case that it does not need to be specified, as far as the proteins were
originally annotated as
H5N1), as for example,
artmsAnnotateSpecie(df, pathogen = "nopathogen", species)
(data.frame) with a
(char) Is there a pathogen in the dataset as well?
if it does not, then use
(char) Host organism (supported for now:
(data.frame) The same data.frame but with an extra column specifying the species
# Adding a new column with the main species of the data. Easy. # But the main functionality is to add both the host-species and a pathogen, # which is not illustrated in this example data_with_specie <- artmsAnnotateSpecie(df = artms_data_ph_msstats_results, species = "human")