-
Notifications
You must be signed in to change notification settings - Fork 0
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
Add JVM metrics and plotting requests #15
Conversation
R/class_jvm_stats.R
Outdated
|
||
# Get memory profile | ||
runtime <- rJava::.jcall("java/lang/Runtime", "Ljava/lang/Runtime;", "getRuntime") | ||
gbConv <- 1024 ^ 3 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is there a reason to just not make 1073741824
the constant?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nope - just easier to remember
vignettes/rPHG2.Rmd
Outdated
Since we need to construct an interface to a local instance of Java, errors | ||
may arise due to several issues. Two common causes are version issues and | ||
memory allocated to the JVM. For debugging and monitoring purposes, we can | ||
use the `jvmStats()` function which create a instance of a `JvmStats` object. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
should be "which creates". (add "s" to create)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Updated grammar
plotHaploCounts()
:geom
buildHaplotypeGraph()
:and direct user to run
initPhg()
JvmStats
:session
jvmStats()
constructor functioninitPhg()
plotGvcf()
function:colorOverride
: Overrides bar color based on given user defined colorsampleOrder
: Overrides default bar ordering based on user definedcharacter
vector