-
Notifications
You must be signed in to change notification settings - Fork 8
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
GPTab is NULL #8
Comments
Hi, Due to your problem, you can check the packages "IRanges" and "dplyr" to make sure they work. If it still have errors, maybe you can run the code line by line to find the code that reports the error.Thanks Best wishes, |
I had the same problem > GPTab <- GPCor(cre.mat=cre.mat,
+ exp.mat=rna.mat,
+ normalizeRNAMat=F,
+ genome = "hg19",
+ windowPadSize = 100000, # base pairs padded on either side of gene TSS
+ proPadSize = 2000, # base pairs padded on either side of gene TSS for enhancer
+ nCores=4 # How many registerCores to use
+ )
Centering counts for cells sequentially in groups of size 1000 ..
Computing centered counts for cells: 1 to 1000 ..
Computing centered counts per cell using mean reads in features ..
Merging results..
Done!
Assuming paired scATAC/scRNA-seq data ..
Peaks with 0 accessibility across cells exist ..
Removing these peaks prior to running correlations ..
Important: peak indices in returned gene-peak maps are relative to original input SE
Genes with 0 expression across cells exist ..
Removing these genes prior to running correlations ..
Number of peaks in ATAC data: 199945
Number of genes in RNA data: 1424
Taking peak summits from peak windows ..
Finding overlapping promoter-gene pairs ..
Found 54649 total promoter-peak pairs for given TSS window ..
Number of peak summits that overlap any gene promoter window: 45946
Number of gene promoter windows that overlap any peak summit: 17429
Num genes overlapping TSS annotation and RNA matrix being considered: 1405
Finding overlapping peak-gene pairs ..
Found 33885 total gene-peak pairs for given TSS window ..
Number of peak summits that overlap any gene TSS window: 12707
Number of gene TSS windows that overlap any peak summit: 1393
> # --- 2.2 obtain significantly correlated peak-gene pairs
> # For determining the threshold value of estimate, namely peak-gene correlation, we advice to choose the value of quantile 95% of overall estimate using quantile(GPTab$estimate, seq(0,1,0.05))[['95%']]
> GPTabFilt <- FindNode(GPTab = GPTab, # data frame of gene-peak correlation
+ genome = "hg19", # reference genome, must be one of "hg19", "mm10", or "hg38"
+ estimate = 0, # the threshold value of peak-gene correlation to determine whether the peak-gene pair is significantly correlated
+ proPadSize = 2000, # base pairs padded on either side of gene TSS for enhancer
+ FDR = 0.05 # the threshold value of FDR to determine whether the peak-gene pair is significantly correlated
+ )
Error in `separate()`:
! Can't extract columns that don't exist.
x Column `ranges` doesn't exist.
Run `rlang::last_trace()` to see where the error occurred.
> GPTab
NULL |
I commented out the parameter ’.errorhandling = 'remove'‘ in ’GPTab <- foreach(..)‘ and then realized that the error was probably caused by 'data.shuf <- data.shuf[sample(narrow(data.shuf)),]' in the 'PeakGeneCor' function. @dhoneyi |
Hi, I'm runing the eNet for my own data, but the GPTab is NULL and without any error message:
Bellow is my code:
And the message output by eNet:
But check the GPTab, it is empty:
and raise an error in the next step:
How to solve this problem, thanks
The text was updated successfully, but these errors were encountered: