powered by
bed
Accessor methods for class bed.
# S4 method for bed,ANY,ANY,ANY [(x, i, j, ..., drop = TRUE)# S4 method for bed_light,ANY,ANY,ANY [(x, i, j, ..., drop = TRUE)
# S4 method for bed_light,ANY,ANY,ANY [(x, i, j, ..., drop = TRUE)
A bed object.
A vector of indices (or nothing). You can use positive and negative indices, and also logical indices (that are recycled).
Not used. Just to make nargs work.
Whether to drop dimensions (to a vector) when a dimension is 1. Default is TRUE.
TRUE
bedfile <- system.file("extdata", "example-missing.bed", package = "bigsnpr") (obj.bed <- bed(bedfile)) obj.bed[1:5, 1] obj.bed[1:5, 1:2] typeof(obj.bed[1, 1])
Run the code above in your browser using DataLab