Skip to content

Commit

Permalink
samplesheet error fixed
Browse files Browse the repository at this point in the history
  • Loading branch information
perishky committed Oct 16, 2020
1 parent 0e67d74 commit ef93974
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion R/read-samplesheet.r
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@ meffil.read.samplesheet <- function(base, pattern = "csv$", ignore.case = TRUE,
{
names(df)[nam] <- "Sex"
if (is.logical(df[[nam]]))
df[[nam]] <- substring(as.character(df[[name]]), 1, 1)
df[[nam]] <- substring(as.character(df[[nam]]), 1, 1)
} else {
warning("There should be one 'Sex' column")
df$Sex <- NA
Expand Down

0 comments on commit ef93974

Please sign in to comment.