Description Usage Arguments Value
View source: R/cis-promoters.R
Get candidates for promoters that are regulated by methylation in cis
1 2 3 4 5 6 7 8 | cis_em_promoters(
meth_mat,
expr_mat,
promoter_intervs,
k_locus_rank = 2,
min_samples = 100,
spearman = FALSE
)
|
meth_mat |
Matrix with methylation values. Each row is a promoter and each column is a sample. Rownames should contain "chrom", "start" and "end" separated by "_" |
expr_mat |
Matrix with expression values. Each row is a gene and each column is a sample. |
promoter_intervs |
intervals set with additional "name" column. In case of duplicate names or coordinates the first one in the matrix will be used. Only intervals that are within promoter_intervs would be used. |
k_locus_rank |
rank of the correlation to extract for each promoter. For example, if |
min_samples |
minimal number of samples per gene (both expression and methylation). Default is 100. |
spearman |
use spearman correlation (if FALSE - use pearson) |
dataframe with the following columns:
namename of the gene
(chrom,start,end)coordinates of the gene promoter
rankrank of the correlation of the gene with it's promoter
corcorrelation of the gene with it's promoter
kthk_locus_rank
th best correlation of the gene with a promoter
fdrfalse discovery rate for detecting the cis-raget with rank value <= rank
. Assuming independence between expression and methylation, the false discovery rate (FDR) for detecting the cis-target (diagonal value) with rank value <= k was defined as k / m, where m is the number of observed genes having cis-target (diagonal value) with rank value <= k.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.