INNER CODE UNIT · Python

annotate

guma44/GEOparse · src/GEOparse/GEOTypes.py:347

    def annotate(
        self, gpl, annotation_column, gpl_on="ID", gsm_on="ID_REF", in_place=False
    ):
        """Annotate GSM with provided GPL

        Args:
            gpl (:obj:`pandas.DataFrame`): A d or DataFrame to annotate with
            annotation_column (str`): Column in a table for annotation
            gpl_on (:obj:`str`): Use this column in GSM to merge. Defaults to "ID".
            gsm_on (:obj:`str`): Use this column in GPL to merge.
                Defaults to "ID_REF".
            in_place (:obj:`bool`): Substitute table in GSM by new annotated
                table. Defaults to False.

        Returns:
            :obj:`pandas.DataFrame` or :obj:`None`: Annotated table or None

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…