read_assays_variants | R Documentation |
read_assays_variants retrieves the assays of variants in an h5f.
read_assays_variants(
h5f,
included_assays = c("AF", "DP", "FILTER_MASK", "GQ", "NGT", "RGQ"),
index_variants = NULL,
index_cells = NULL,
format = c("list", "RangedSummarizedExperiment")
)
h5f |
h5f |
included_assays |
A character vector. Selects which assays to retrieve. Possible values are
|
index_variants |
A named numeric vector. You should use |
index_cells |
A numeric vector. Specifies which cells (columns) to retrieve. |
format |
A character. Specifies the return format. Either a |
Default is a named list
. Can return a RangedSummarizedExperiment
if specified.
#' #Retrieving the NGT matrix for IDH1_R132H and NPM1c
## Not run:
interesting_variants <- c(IDH1_R132H = "chr2:209113112:C/T", NPM1c = "chr5:170837543:C/CTCTG")
index <- get_variants_index(h5f, interesting_variants)
read_dna_variants(h5f, index_variants = index, included_assays = "NGT")
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.