Hi,
First of all, thank you for this wonderful tool.
I’m wondering why every element in the result matrix of running Prune() is zero. I show you the code i ran.
data(motifAnnotations_hgnc)
motifRankings <- importRankings("./hg38__refseq-r80__10kb_up_and_down_tss.mc9nr.feather")
gene <- colnames(motifRankings)
ac_ntf <- read.table("co_fc.txt")
ac_tf <- read.table("co_tf_fc.txt")
gene_ntf <- read.csv("gene_ntf.csv")
gene_tf <- read.csv("gene_tf.csv")
coexpressed <- Merge(ac_ntf,ac_tf,gene_ntf,gene_tf,gene)
O <- Screen(coexpressed)
copaired <- Copaired(O)
genesets <- Genesets(copaired)
genesets_list <- levels(as.factor(copaired$V1))
Regulons <- Prune(O, genesets, genesets_list, motifRankings, motifAnnotations_hgnc)
copaired2 <- Copaired2(Regulons)
genesets2 <- Genesets(copaired2)
The ‘O’, result of the function Screen, has elements of 1 or 0, but I got a matrix with all zero elements from the function Prune().
For this reason, the function Copaired2 gives me no result.
May I ask you why this is happening? Thank you very much in advance!
Hi,
First of all, thank you for this wonderful tool.
I’m wondering why every element in the result matrix of running Prune() is zero. I show you the code i ran.
data(motifAnnotations_hgnc)
motifRankings <- importRankings("./hg38__refseq-r80__10kb_up_and_down_tss.mc9nr.feather")
gene <- colnames(motifRankings)
ac_ntf <- read.table("co_fc.txt")
ac_tf <- read.table("co_tf_fc.txt")
gene_ntf <- read.csv("gene_ntf.csv")
gene_tf <- read.csv("gene_tf.csv")
coexpressed <- Merge(ac_ntf,ac_tf,gene_ntf,gene_tf,gene)
O <- Screen(coexpressed)
copaired <- Copaired(O)
genesets <- Genesets(copaired)
genesets_list <- levels(as.factor(copaired$V1))
Regulons <- Prune(O, genesets, genesets_list, motifRankings, motifAnnotations_hgnc)
copaired2 <- Copaired2(Regulons)
genesets2 <- Genesets(copaired2)
The ‘O’, result of the function Screen, has elements of 1 or 0, but I got a matrix with all zero elements from the function Prune().
For this reason, the function Copaired2 gives me no result.
May I ask you why this is happening? Thank you very much in advance!