View source: R/meth_analysis.R
compute_indiv_dm_table | R Documentation |
Generate differential methylation data table from beta values. According to a reference individual matrix which indicates which samples should be considere as reference for a given probe, the function computes the methylation difference between each tested sample and the mean of reference samples.
compute_indiv_dm_table(gene_list, exp_grp, data_meth,
filter_indiv = "no_filter", indiv_filtering_matrix, pf_meth, pf_pos_colname,
pf_chr_colname, updwn_str = 5000, slide = 0, apply_func = apply,
contrast = c("tissue_status", "patho", "normal"), reference = "normal",
probe_idx)
gene_list |
A |
exp_grp |
A |
data_meth |
A |
filter_indiv |
A vector of individual names to be screened for differential methylation. Optionnal (set on "no_filter" by default). |
indiv_filtering_matrix |
A matrix of filter to define differentially expressed gene for each pathological sample for each probe. Rownames should be contained in rownames(gene_list) and colnames should contain |
pf_meth |
A data frame describing CpG positions. |
pf_pos_colname |
String matching the name of the column in the platform that contain the position information of probes. |
pf_chr_colname |
String matching the name of the column in the platform that contain the chromosome on which we find a probes. |
updwn_str |
An integer specifying up and down stream size (in bp). By default set on 5000pb. |
slide |
The maximum width slide allowed when comparing two curves. By default set on 0. |
apply_func |
A function to be used as/instead of R |
contrast |
A vector containing the constrast to use to estimate the compute the methylation profiles. Required if you are in the "pop" mode. |
reference |
A string indicating what sample to considere as reference. Should be "normal" or "no_de" for all samples without differential expression (normal + patho). |
probe_idx |
A list of probes associated with each gene |
A matrix of differential methylation values based on single individual analysis.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.