cellink.pp.missing_values_filter#
- cellink.pp.missing_values_filter(adata, *, max_missing_ratio=0.2, inplace=True, copy=True)#
This function removes features that have a proportion of missing values greater than the specified threshold.
- Parameters:
adata (
AnnData) – The annotated data matrix of shapen_obsxn_vars.max_missing_ratio (
float(default:0.2)) – Maximum allowable proportion of missing values for a protein to be retained.inplace (
bool(default:True)) – Whether to updateadataor return a copy of the new AnnData object.copy (
bool(default:True)) – Whether to modify copied input object. Not compatible with inplace=False.
- Return type:
- Returns:
Returns the AnnData object with filtered values or updates the input
adataif inplace is True.