Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 9 additions & 1 deletion malariagen_data/ag3.py
Original file line number Diff line number Diff line change
Expand Up @@ -338,7 +338,7 @@ def _repr_html_(self):
"""
return html

def cross_metadata(self):
def cross_metadata(self) -> pd.DataFrame:
"""Load a dataframe containing metadata about samples in colony crosses,
including which samples are parents or progeny in which crosses.

Expand All @@ -347,6 +347,14 @@ def cross_metadata(self):
df : pandas.DataFrame
A dataframe of sample metadata for colony crosses.

Examples
--------
Access cross metadata:

>>> import malariagen_data
>>> ag3 = malariagen_data.Ag3()
>>> df = ag3.cross_metadata()

"""
debug = self._log.debug

Expand Down