You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Howdy,
I was debugging music_prop2() in the music2.R file and came across an error that occurs when select.ct = NULL
the problem stems from line 91: ncell = length(select.ct). since select.ct = NULL, this results in a length of 0 instead of the actual number of cell types (all of them) and then MOD0 and MOD1 will be the wrong size.
I am not familiar with making pull requests (sorry about that), but this problem should be fixed by replacing that line (91) with something like:
I did not test it there, but it appears to also be the case for the other two functions in the file at lines 315 and 542. In addition, there is no default value for select.ct in all of those functions in that file instead of NULL as the documentation states.
I hope this is helpful,
Erik
The text was updated successfully, but these errors were encountered:
Howdy,
I was debugging
music_prop2()
in themusic2.R
file and came across an error that occurs whenselect.ct = NULL
the problem stems from line 91:
ncell = length(select.ct)
. sinceselect.ct = NULL
, this results in a length of 0 instead of the actual number of cell types (all of them) and thenMOD0
andMOD1
will be the wrong size.I am not familiar with making pull requests (sorry about that), but this problem should be fixed by replacing that line (91) with something like:
I did not test it there, but it appears to also be the case for the other two functions in the file at lines 315 and 542. In addition, there is no default value for
select.ct
in all of those functions in that file instead ofNULL
as the documentation states.I hope this is helpful,
Erik
The text was updated successfully, but these errors were encountered: