View source: R/Footprints_FOS.R
get_cor | R Documentation |
Calculate correlation of each gene pair, and remove genes that are below the threshold and are not transcription factors
get_cor(Kmeans_result, motif, correlation_filter, start_column = 4)
Kmeans_result |
Kmeans result, rownames should be ENSEMBL ID, first column should be Symbol ID, second column should be KmeansGroup |
motif |
motif file, you can choose our bulit-in motif database of 'mus musculus', 'homo sapiens', 'zebrafish' and 'chicken' by 'motif = Tranfac201803_Mm_MotifTFsF', 'motif = Tranfac201803_Hs_MotifTFsF', 'motif = Tranfac201803_Zf_MotifTFsF', 'motif = Tranfac201803_Ch_MotifTFsF' respectively, or you can upload your own motif data base, but the formata use be the same as our built-in motif database. |
correlation_filter |
numeric, indicating correlation threshold |
start_column |
numeric, indicating the start column of expression value, defalut is 4 |
return a table contain transcription factor with correlation > correlation_filter and correlation < -correlation_filter
load(system.file("extdata", "test_clustering.rda", package = "IReNA"))
test_clustering=add_ENSID(test_clustering,Spec1 = 'Hs')
correlation <- get_cor(test_clustering, Tranfac201803_Hs_MotifTFsF, 0.7, start_column=3)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.