Skip to content
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

Error in if (n > 0) c(NA_integer_, -n) else integer() #8

Open
JiakaiLiang opened this issue Nov 1, 2023 · 2 comments
Open

Error in if (n > 0) c(NA_integer_, -n) else integer() #8

JiakaiLiang opened this issue Nov 1, 2023 · 2 comments

Comments

@JiakaiLiang
Copy link

Hi,

I encountered an error while attempting to utilize all quantified genes in order to construct a comprehensive regulatory network, from which I aim to extract subnetworks containing the genes of interest. The transcriptome data was quantified using triploid typing genomes, encompassing 6 time points with 3 replicates each (totaling 18 samples). For file designation, replicates 1 of each time point were labeled as "time_series_1," replicates 2 as "time_series_2," and replicates 3 as "time_series_3." To address the issue of numerous genes exhibiting expression values of zero or partial samples with zero expression values, only those genes displaying expression levels exceeding 0.1 TPM across all samples were utilized for program execution.

Error in if (n > 0) c(NA_integer_, -n) else integer() :
missing value where TRUE/FALSE needed
Calls: get.link.list ... melt -> melt.matrix -> expand.grid -> .set_row_names
In addition: Warning messages:
1: In rep.fac * nx : NAs produced by integer overflow
2: In .set_row_names(as.integer(prod(d))) :
NAs introduced by coercion to integer range
Execution halted

I sincerely look forward to your assistance !

@JiakaiLiang
Copy link
Author

Additionally, I would appreciate clarification on the correctness of the method employed in generating TS files. If it is deemed incorrect, I would greatly appreciate any advice or suggestions.

@vahuynh
Copy link
Owner

vahuynh commented Nov 21, 2023

Hi,

The errors seems to occur when you call the get.link.list function. Did you check if you have any NAs in the data (that you used as input to dynGENIE3) or in the weight matrix returned by dynGENIE3?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants