View source: R/exposure_related_functions.R
read_exposure | R Documentation |
Read an exposure matrix from a file.
read_exposure(file, check.names = FALSE)
file |
File path to a CSV file containing an exposure matrix, i.e. the numbers of mutations due to each mutational signature. Each row corresponds to a mutational signature an each column corresponds to a tumor or other biological sample. |
check.names |
Passed to |
Numerical matrix of exposures, with the same
shape as the contents of file
.
file <- system.file("extdata", "Liver-HCC.exposure.csv", package = "mSigTools" ) exposure <- read_exposure(file)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.