Skip to content

Instantly share code, notes, and snippets.

@azkalot1
Created February 12, 2019 22:43
Show Gist options
  • Save azkalot1/a07495979572160561bfb763d7e47dda to your computer and use it in GitHub Desktop.
Save azkalot1/a07495979572160561bfb763d7e47dda to your computer and use it in GitHub Desktop.
cells_expression = mat.sum(axis=1)
mat = mat[cells_expression>=100,:]
mat = np.log(mat+1)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment