R/HISvsNonHIS.R

Defines functions HISvsNonHIS

# Extract data from latinx and non-latinx patients who are also white
#

HISvsNonHIS <- function(dat){
  dat %>%
    filter(race == "white") %>%
    filter(ethnicity == "hispanic or latino" | ethnicity == "not hispanic or latino")
}
k8hertweck/tcgaHelpers documentation built on April 1, 2021, 7:45 a.m.