From 4b07f37ea8d15c5605ad13a50bc35c39e6f3425f Mon Sep 17 00:00:00 2001 From: Tom Sasani Date: Thu, 11 Jan 2024 13:50:58 -0500 Subject: [PATCH] add arg description to docstring --- ihd/utils.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/ihd/utils.py b/ihd/utils.py index 6b5a81f..760fd4e 100644 --- a/ihd/utils.py +++ b/ihd/utils.py @@ -728,6 +728,9 @@ def compute_spectra( will treat mutations as NXN NYN, where Ns represent the nucleotide \ contexts on either side of the mutation, whereas k=1 means we will \ treat them as X Y). Defaults to 1. + + cpg (bool, optional): whether to separate CpG>TpG mutations into their \ + own mutation type, distinct from C>T. Defaults to True. Returns: samples (List[str]): A list of samples in the dataframe (which are \