Skip to content

Instantly share code, notes, and snippets.

@AmyOlex
Created May 8, 2018 17:03
Show Gist options
  • Save AmyOlex/db3f24f167c3abd36d7688f41e518555 to your computer and use it in GitHub Desktop.
Save AmyOlex/db3f24f167c3abd36d7688f41e518555 to your computer and use it in GitHub Desktop.
Row Median Centering
## Row median scale data
rowMedians <- rowMedians(as.matrix(human_TPM_pam50_selected))
human_TPM_pam50_selected_scaled <- human_TPM_pam50_selected - rowMedians
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment