anndict.AdataDict.index_bool#
- AdataDict.index_bool(index_dict, inplace=True)[source]#
Index the
AdataDictby a dictionary of indices.- Parameters:
- index_dict
dict A
dictwith the same structure as theAdataDict, but values are boolean.- inplace
bool(default:True) If
True, modifies theAdataDictin-place. Otherwise, returns a newAdataDict.
- index_dict
- Return type:
None|AdataDict- Returns:
Noneand modifies theAdataDictin-place ifinplace=True.New
AdataDictobject with the specified indices ifinplace=False.