remove_probe_suffix

pylluminator.utils.remove_probe_suffix(probe_id: str) str

Remove the last part of a probe ID, split by underscore.

The last part is usually 2 letters and 2 numbers, referring to : top or bottom strand (T/B), converted or opposite strand (C/O), Infinium probe type (1/2), and the number of synthesis for representation of the probe on the array (1,2,3,…,n).

Parameters:

probe_id (str) – the probe name to remove the suffix from

Returns:

the probe name without the suffix

Return type:

str