Skip to content

Commit ffdaa80

Browse files
authored
Merge pull request #56 from morinlab/lhilton-fread-maf
Bug fix: Allow mafs with varying column headers to be loaded without error
2 parents e8dd864 + 9b9a09a commit ffdaa80

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

R/fread_maf.R

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -165,7 +165,7 @@ fread_maf = function(maf_file_path,
165165
file = maf_file_path,
166166
col_types = colClasses
167167
) %>%
168-
dplyr::select(all_of(select_cols))
168+
dplyr::select(any_of(select_cols))
169169

170170
return(maf_df)
171171
}

0 commit comments

Comments
 (0)