Description Usage Arguments Value Examples
View source: R/preprocessing.R
Preprocessing data for methylation by selecting data from two given samples if methylation probe exists in both samples on the same chromosome and position.
1 | preprocessing(sample.1, sample.2)
|
sample.1 |
a data frame with methylation data |
sample.2 |
a data frame with methylation data |
data.frame with methylation values on common positions and chromosomes from sample.1 and sample.2
1 2 3 4 5 6 7 8 9 10 | # data from package
data('schizophrenia')
control <- schizophrenia %>% filter(category == 'control') %>%
dplyr::select(-category)
disease <- schizophrenia %>% filter(category == 'disease') %>%
dplyr::select(-category)
data <- preprocessing(control, disease)
head(data)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.