validSam | R Documentation |
Return a logical vector indicating which are valid samples.
validSam(object, parents = FALSE, ...)
validSam(object) <- value
## S4 method for signature 'GbsrGenotypeData'
validSam(object, parents)
## S4 replacement method for signature 'GbsrGenotypeData'
validSam(object) <- value
object |
A GbsrGenotypeData object. |
parents |
A logical value to indicate to set FALSE or TRUE
to parental samples. If you specify |
... |
Unused. |
value |
A logical vector indicating valid samples with the length matching with the number of samples |
A logical vector of the same length with the number of total samples.
# Load data in the GDS file and instantiate a [GbsrGenotypeData] object.
gds_fn <- system.file("extdata", "sample.gds", package = "GBScleanR")
gds <- loadGDS(gds_fn)
validSam(gds)
# Close the connection the GDS file.
closeGDS(gds)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.