View source: R/genomic_matrix.R
createMarkerSets | R Documentation |
This function creates sets of markers surrounding a list of SNPs (rsids) from the given Glist.
createMarkerSets(
Glist = NULL,
rsids = NULL,
upstream = 1000,
downstream = 1000,
kb = NULL,
cm = NULL
)
Glist |
A list containing 'pos', 'map', 'chr', and 'rsids'. |
rsids |
A character vector of SNP identifiers (e.g., rsIDs). |
upstream |
Integer specifying the number of markers upstream of each rsid. |
downstream |
Integer specifying the number of markers downstream of each rsid. |
kb |
(Optional) Not currently implemented. |
cm |
(Optional) Not currently implemented. |
A named list where each element contains markers surrounding the corresponding rsid.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.