I am trying to run this code in which I need to get subset of my data set but whenever I try running the code I get the error:
Error in subset.default(., select = c("Fluconazole (16 ug/ml)", "Fluconazole (32 ug/ml)", :
argument "subset" is missing, with no default
This is the code I run
df.fluco.hmf <- 'Phenotyping.All.scaled2.txt' %>%
subset(select = c( 'Fluconazole (16 ug/ml)',
'Fluconazole (32 ug/ml)',
'Fluconazole (64 ug/ml)',
'HMF (31.7 mM)',
'HMF (39.6 mM)',
'HMF (47.6 mM)')) %>%
as.data.frame()
and then I get this with the error message:
> df.fluco.hmf <- 'Phenotyping.All.scaled2.txt' %>%
> + subset(select = c( 'Fluconazole (16 ug/ml)',
> + 'Fluconazole (32 ug/ml)',
> + 'Fluconazole (64 ug/ml)',
> + 'HMF (31.7 mM)',
> + 'HMF (39.6 mM)',
> + 'HMF (47.6 mM)')) %>%
> + as.data.frame()
>
> Error in subset.default(., select = c("Fluconazole (16 ug/ml)",
> "Fluconazole (32 ug/ml)", : argument "subset" is missing, with no
> default