-
Notifications
You must be signed in to change notification settings - Fork 16
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
patternMarkers 'all' returning empty lists #102
Comments
related #78 |
confirmed warning in
|
confirmed empty markers with
|
the problem with warnings generated in case of CoGAPS/R/methods-CogapsResult.R Line 437 in cc8c42c
|
Hi! I am trying to obtain patternMarkers from a cogaps result object using the following code:
pMarks <- patternMarkers(NMF, threshold = "all", lp = NA, axis = 1)
It returns values for the scores and ranks how I would expect, but there are no patternMarkers for every pattern -- which seems weird.
The 'cut' version does return patternMarkers, but the output is formatted slightly differently than that returned by 'all' (each list isn't named by the pattern name), and there is a warning message I haven't seen before when using this function.
I am using R 4.3.0 and CoGAPS 3.24.0 (installed 5/2/24).
I have never run into this issue before, but I had just reinstalled CoGAPS.
Looking into the patternMarkers code here (lines 480-490):
If I print the first few elements of thresholdTest it looks like a named list, but if I print the gene followed by names(gene) for each, the names are NULL
I'm not sure if this is happening for anyone else. Please let me know if you need any other details!
The text was updated successfully, but these errors were encountered: