We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
model.cond
When creating a complex contrast with model.cond, there should be a way to print out the actual contrast generated as a santity check for the user.
Follow-up of scverse/multi-condition-comparisions#15.
The text was updated successfully, but these errors were encountered:
One way could be to implement a method display_contrast(contrast: np.ndarray | pd.Series) that visualizes the contrast.
display_contrast(contrast: np.ndarray | pd.Series)
In its simplest form, it could show the non-zero coefficients and display them as a table:
contrasts.T.loc[lambda x: x[0] != 0]
Sorry, something went wrong.
grst
No branches or pull requests
Description of feature
When creating a complex contrast with
model.cond
, there should be a way to print out the actual contrast generated as a santity check for the user.Follow-up of scverse/multi-condition-comparisions#15.
The text was updated successfully, but these errors were encountered: