I am using Pagesus package to analyze my single cell RNA sequencing data. I have encountered the following error using the Pegasus package for single cell analysis. The function that is giving me the error seems to be:
highly_variable_features(data, consider_batch=True)
and the error is
TypeError: highly_variable_features() got an unexpected keyword argument 'consider_batch'. after executing
I am very novice with using python and this package. I haven't been able to find any explanation when looking through Github and Pegasus package tutorials.
I appreciate your advice on this
Regards,
the pagesus docs for this function: highly_variable_features
do not mention keyword/parameter you passed in and thats how you getting that error.
Please look at this docs: https://pegasus.readthedocs.io/en/stable/api/pegasus.highly_variable_features.html?highlight=highly_variable_features
You should read docs more carefully, and try to learn basics Errors in Python and where they come from. This will help in the future to solve errors like this.