Skip to content

Commit

Permalink
set check.names to false...
Browse files Browse the repository at this point in the history
... when accessing sample_meta and variable_meta of DatasetExperiment
  • Loading branch information
grlloyd committed Jul 4, 2023
1 parent 2f21924 commit 7e8fcff
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions R/DatasetExperiment_class.R
Original file line number Diff line number Diff line change
Expand Up @@ -72,9 +72,9 @@ setMethod(f = "$",
value = assay(x,1)
}
} else if (name == 'sample_meta') {
value = S4Vectors::DataFrame(rowData(x))
value = S4Vectors::DataFrame(rowData(x),check.names = FALSE)
} else if (name == 'variable_meta') {
value = S4Vectors::DataFrame(colData(x))
value = S4Vectors::DataFrame(colData(x),check.names = FALSE)
}

if (name %in% s) {
Expand Down

0 comments on commit 7e8fcff

Please sign in to comment.