Manipulation#
Sets a column as the new first column of obs, i.e. the obs_names. |
|
Sets a column as the new first column of var, i.e. the var_names. |
|
Return a new SingleCell dataset with a different default number of threads. |
|
Make obs_names unique. |
|
Make var_names unique. |
|
Equivalent to |
|
Equivalent to |
|
Equivalent to |
|
Equivalent to |
|
Subsets obsm to the specified key(s). |
|
Subsets varm to the specified key(s). |
|
Subsets obsp to the specified key(s). |
|
Subsets varp to the specified key(s). |
|
Subsets uns to the specified key(s). |
|
Equivalent to |
|
Equivalent to |
|
Adds one or more keys to obsm, overwriting existing keys with the same names if present. |
|
Adds one or more keys to varm, overwriting existing keys with the same names if present. |
|
Adds one or more keys to obsp, overwriting existing keys with the same names if present. |
|
Adds one or more keys to varp, overwriting existing keys with the same names if present. |
|
Adds one or more keys to uns, overwriting existing keys with the same names if present. |
|
Create a new SingleCell dataset with X removed, to reduce memory use. |
|
Create a new SingleCell dataset with columns and more_columns removed from obs. |
|
Create a new SingleCell dataset with columns and more_columns removed from var. |
|
Create a new SingleCell dataset with keys and more_keys removed from obsm. |
|
Create a new SingleCell dataset with keys and more_keys removed from varm. |
|
Create a new SingleCell dataset with keys and more_keys removed from obsp. |
|
Create a new SingleCell dataset with keys and more_keys removed from varp. |
|
Create a new SingleCell dataset with keys and more_keys removed from uns. |
|
Create a new SingleCell dataset with column(s) of obs renamed. |
|
Create a new SingleCell dataset with column(s) of var renamed. |
|
Create a new SingleCell dataset with key(s) of obsm renamed. |
|
Create a new SingleCell dataset with key(s) of varm renamed. |
|
Create a new SingleCell dataset with key(s) of obsp renamed. |
|
Create a new SingleCell dataset with key(s) of varp renamed. |
|
Create a new SingleCell dataset with key(s) of uns renamed. |
|
Cast X to the specified data type. |
|
Cast column(s) of obs to the specified data type(s). |
|
Cast column(s) of var to the specified data type(s). |
|
Left-join obs with another DataFrame. |
|
Left-join var with another DataFrame. |
|
Subsample a specific number or fraction of cells. |
|
Subsample a specific number or fraction of genes. |
|
Make a copy of this SingleCell dataset, converting X to a csr_array. |
|
Make a copy of this SingleCell dataset, converting X to a csc_array. |
|
Make a copy of this SingleCell dataset. |
|
Concatenate one or more other SingleCell datasets with this one, cell-wise. |
|
Concatenate one or more other SingleCell datasets with this one, gene-wise. |
|
The opposite of concat_obs(): splits a SingleCell dataset into a dictionary of SingleCell datasets, one per unique value of a column of obs. |
|
The opposite of concat_var(): splits a SingleCell dataset into a dictionary of SingleCell datasets, one per unique value of a column of var. |
|
Apply a function to a SingleCell dataset. |
|
Apply a function to a SingleCell dataset's X. |
|
Apply a function to a SingleCell dataset's obs. |
|
Apply a function to a SingleCell dataset's var. |
|
Apply a function to a SingleCell dataset's obsm. |
|
Apply a function to a specific key in a SingleCell dataset's obsm. |
|
Apply a function to a SingleCell dataset's varm. |
|
Apply a function to a specific key in a SingleCell dataset's varm. |
|
Apply a function to a SingleCell dataset's obsp. |
|
Apply a function to a specific key in a SingleCell dataset's obsp. |
|
Apply a function to a SingleCell dataset's varp. |
|
Apply a function to a specific key in a SingleCell dataset's varp. |
|
Apply a function to a SingleCell dataset's uns. |
|
Apply a function to a specific key in a SingleCell dataset's uns. |