Skip to content

Commit

Permalink
configuration docs
Browse files Browse the repository at this point in the history
  • Loading branch information
Rongtingting committed Jun 25, 2024
1 parent 07c7056 commit 28c0068
Show file tree
Hide file tree
Showing 8 changed files with 602 additions and 69 deletions.
70 changes: 66 additions & 4 deletions docs/API.rst
Original file line number Diff line number Diff line change
@@ -1,10 +1,19 @@
.. _api:

===
API
===
=================
API Documentation
=================


.. contents:: Contents
:depth: 3
:local:


.. automodule:: xclone
:members:



Import XClone as::

Expand Down Expand Up @@ -38,7 +47,60 @@ Read / Load
Config module-specific parmas
-----------------------------

.. autofunction:: xclone.XCloneConfig
Main config manager
~~~~~~~~~~~~~~~~~~~

.. autoclass:: xclone.PreprocessingConfig
:members:
:undoc-members:
:show-inheritance:


.. autoclass:: xclone.XCloneConfig
:members:
:undoc-members:
:show-inheritance:

Module specific config manager
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

.. autoclass:: xclone.XCloneGeneral_config
:members:
:undoc-members:
:show-inheritance:


.. autoclass:: xclone.RDR_General_config
:members:
:undoc-members:
:show-inheritance:


.. autoclass:: xclone.BAF_General_config
:members:
:undoc-members:
:show-inheritance:

.. autoclass:: xclone.Combine_General_config
:members:
:undoc-members:
:show-inheritance:


.. autoclass:: xclone.HMM_Configs
:members:
:undoc-members:
:show-inheritance:

.. autoclass:: xclone.Smartseq_Config
:members:
:undoc-members:
:show-inheritance:

.. autoclass:: xclone.Spatial_Config
:members:
:undoc-members:
:show-inheritance:



Expand Down
14 changes: 14 additions & 0 deletions docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,20 @@
'sphinxcontrib.bibtex',
# "edit_on_github",
]

# Add this to include __init__ method docstrings in the class documentation
autoclass_content = 'both'

autodoc_default_options = {
'members': True,
'undoc-members': True,
'private-members': True,
'special-members': True,
'inherited-members': True,
'show-inheritance': True,
}


bibtex_bibfiles = ['references.bib']
# Use the APA style
bibtex_default_style = 'plain' #Or 'unsrt', 'alpha', 'abbrv'
Expand Down
8 changes: 5 additions & 3 deletions docs/release.rst
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,14 @@ Release History
:local:



Version 0.3.7
Version 0.3.8
-------------
- [docs]
- [docs] Base Configurations class.


Version 0.3.7
-------------
- [docs] Main functions.


Version 0.3.6
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tool.poetry]
name = "xclone"
version = "0.3.7"
version = "0.3.8"
description = "XClone: Inference of clonal Copy Number Alterations in single cells"
authors = ["Rongting Huang <[email protected]>"]
readme = "README.rst"
Expand Down
4 changes: 3 additions & 1 deletion xclone/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,4 +17,6 @@
from .model import mixture as mixture

from ._logging import get_logger
from ._config import PreprocessingConfig, XCloneConfig, settings
from ._config import PreprocessingConfig, XCloneConfig, settings
from ._config import XCloneGeneral_config, RDR_General_config, BAF_General_config, Combine_General_config
from ._config import HMM_Configs, Smartseq_Config, Spatial_Config
Loading

0 comments on commit 28c0068

Please sign in to comment.