nolanlab / citrus

Citrus Development Code
GNU General Public License v3.0
31 stars 20 forks source link

frequently stopped "R" #105

Closed kdh4win4 closed 7 years ago

kdh4win4 commented 7 years ago

Dear

Greetings ~~ I would like to know why citrus is not working well. Well, I have many fcs files with unstim, stim1, stim2, stim3 conditions. Most of time, R stopped suddenly. The suspicious reason would be large sample size or uneven number of samples (41 vs 40). Any comments would be appreciated.

rbruggner commented 7 years ago

In order to help debug, Please attach the contents of the citrus.log file as well as any error messages that you may see.

kdh4win4 commented 7 years ago

There is not much information in log file. So I attached screenshot. citrus_log.docx My file size is big ? I compared two sample (25 vs. 25) screen shot 2016-10-25 at 11 25 48 am screen shot 2016-10-25 at 11 27 10 am screen shot 2016-10-25 at 11 27 24 am screen shot 2016-10-25 at 11 27 34 am screen shot 2016-10-25 at 11 27 44 am

rbruggner commented 7 years ago

Can you please describe what happens when R stops, or attach a screenshot of any error message that appears?

And just to confirm, you have 10 cores in the computer that you're running on?

kdh4win4 commented 7 years ago

My mac has 8 cores. However, sometimes 10 cores worked on CITRUS UI v0.8 with small (100 or 200) events number. I am running 4 cores now. if I have error sign I would attached it.

kdh4win4 commented 7 years ago

screen shot 2016-10-25 at 11 45 05 am

kdh4win4 commented 7 years ago

Above error sign is caused by 1000 events/5% screen shot 2016-10-25 at 11 46 20 am screen shot 2016-10-25 at 11 46 30 am screen shot 2016-10-25 at 11 46 38 am screen shot 2016-10-25 at 11 46 47 am screen shot 2016-10-25 at 11 46 54 am

kdh4win4 commented 7 years ago

I have 3GHz 8-core computer. However, sometimes with small events (100 or 200 per file) 10 core works. Anyway I will use less than 8 core. RStudio is suddenly quitted with error sign.

Sincerely, Dohoon Kim

On Tue, Oct 25, 2016 at 11:37 AM, Robert Bruggner notifications@github.com wrote:

Can you please describe what happens when R stops, or attach a screenshot of any error message that appears?

And just to confirm, you have 10 cores in the computer that you're running on?

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/nolanlab/citrus/issues/105#issuecomment-256072213, or mute the thread https://github.com/notifications/unsubscribe-auth/AMDyjZTECwfWGzmoxFYq3NkmiqNT9BBwks5q3iJRgaJpZM4KgG0R .

kdh4win4 commented 7 years ago

Is it too big ? did you get my email ?

kdh4win4 commented 7 years ago

When I set two groups. It suddenly stopped ! screen shot 2016-10-26 at 3 47 12 pm

Error sign says, Listening on http://127.0.0.1:5703 simpleWarning: Error in =: 'names' attribute [19] must be the same length as the vector [18]

kdh4win4 commented 7 years ago

Dear CITRUS team, Any comments would be appreciated. Thank you

rbruggner commented 7 years ago

The crashes sounds like a problem with the clustering algorithm. This could potentially be caused by a memory leak, or supporting packages being compiled with different compilers.

Did you install using the 1) "Standard Citrus Installation" directions or 2) Citrus installation Using Mac Ports and g++4.8?

kdh4win4 commented 7 years ago

I think I used #1 method like below;

library("devtools")

source("https://bioconductor.org/biocLite.R") biocLite("impute") biocLite("brew")

install_github('nolanlab/citrus')

library("citrus") citrus.launchUI()

kdh4win4 commented 7 years ago

Can I get any more comment ? Actually, Citrus does not look active program anymore.

SamGG commented 7 years ago

I think Citrus is still active, but you are right to ask again for help. I can't help you on a question that seems specific to Mac. I think somebody will answer you. Best.

kdh4win4 commented 7 years ago

I find out something. if my clustering events number is more than 3000 ~ 4000, the R program suddenly stopped. So I minimize my sample numbers 3~4, minimize clustering parameter into 3~5, then CITRUS is working. However, I need more parameters and more samples. Is it impossible or somebody can help this please ?

SamGG commented 7 years ago

Just a two cents proposal: 1000 events per file (for a total of 50 files) is OK as long as the total number of events is below 50K or 60K events (see Rclusterpp limits). 1% or 2% as cluster size sounds OK (5% might be too big to get a relevant feature). I think the channels selected for the clustering parameters should not include the channels selected for the median parameters, if medians is selected as feature types. Finally, check cross validation value unless 1 means no cross validation. Alternatively, you should test with 10 samples per group and 1k events. 10 is usually enough for non parametric statistics. HTH

kdh4win4 commented 7 years ago

I appreciate this tip. I will try soon.

Sincerely, Dohoon Kim

      1. 오후 4:13 SamGG notifications@github.com 작성:

Just a two cents proposal: 1000 events per file (for a total of 50 files) is OK as long as the total number of events is below 50K or 60K events (see Rclusterpp limits). 1% or 2% as cluster size sounds OK (5% might be too big to get a relevant feature). I think the channels selected for the clustering parameters should not include the channels selected for the median parameters, if medians is selected as feature types. Finally, check cross validation value unless 1 means no cross validation. Alternatively, you should test with 10 samples per group and 1k events. 10 is usually enough for non parametric statistics. HTH

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or mute the thread.

rbruggner commented 7 years ago

One thought I had is that you may be experiencing a memory leak in Rclusterpp that may be fixed in Version 0.2.4 (which is not on cran). You can install as follows:

install.packages(c("Rcpp","RcppEigen"),type="source")
library("devtools")
install_github('nolanlab/Rclusterpp')
install_github('nolanlab/citrus')

Let me know if that fixes the problems?

rbruggner commented 7 years ago

Any update as to if this fixed the problem? I think it's probably the same issue experienced in #110 . Seems to be related to the release of Mac OS X 10.12 which I did not have access to until recently.

kdh4win4 commented 7 years ago

I haven't spent much time on this issue recently. I will let you know if I found any progress. Thank you.

Sincerely, Dohoon Kim

On Wed, Mar 1, 2017 at 12:45 AM, Robert Bruggner notifications@github.com wrote:

Any update as to if this fixed the problem? I think it's probably the same issue experienced in #110 https://github.com/nolanlab/citrus/issues/110 . Seems to be related to the release of Mac OS X 10.12 which I did not have access to until recently.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/nolanlab/citrus/issues/105#issuecomment-283250728, or mute the thread https://github.com/notifications/unsubscribe-auth/AMDyjdgWlTo3nal6Xsjzj7ARTG_qWLITks5rhQXggaJpZM4KgG0R .