Skip to content

Commit

Permalink
updated docstring of raw
Browse files Browse the repository at this point in the history
  • Loading branch information
falexwolf committed Aug 13, 2018
1 parent 4d0dfd3 commit a77fa97
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions anndata/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -980,6 +980,15 @@ def raw(self):
Its content can be deleted by setting it back to ``None``::
adata.raw = None
Upon slicing an AnnData object along the observations (row) axis,
``.raw`` is also sliced. Slicing an AnnData object along the variables
(columns) axis, leaves ``.raw`` unaffected. Note that you can call::
adata.raw[:, 'orig_variable_name'].X
to retrieve the data associated with a variable that might have been
filtered out or "compressed away" in ``.X``.
"""
return self._raw

Expand Down

0 comments on commit a77fa97

Please sign in to comment.