validMar | R Documentation |
Return a logical vector indicating which are valid SNP markers.
validMar(object, chr = NULL, ...)
validMar(object) <- value
## S4 method for signature 'GbsrGenotypeData'
validMar(object, chr)
## S4 replacement method for signature 'GbsrGenotypeData'
validMar(object) <- value
object |
A GbsrGenotypeData object. |
chr |
A index to spefcify chromosome to get information. |
... |
Unused. |
value |
A logical vector indicating valid markers with the length matching with the number of markers. |
A logical vector of the same length with the number of total SNP markers
# Load data in the GDS file and instantiate a [GbsrGenotypeData] object.
gds_fn <- system.file("extdata", "sample.gds", package = "GBScleanR")
gds <- loadGDS(gds_fn)
validMar(gds)
# Close the connection to the GDS file.
closeGDS(gds)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.