Groups
Sign in
Groups
Monocle
Conversations
About
Send feedback
Help
Error at qplot step for plotting distribution
7 views
Skip to first unread message
Maria Ahmed
unread,
Jan 17, 2020, 9:59:12 AM
1/17/20
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Monocle
I'm new to Monocle, and going through the steps mentioned
here
. I created my CDS from a Seurat object.
To verify that the expression values stored in
CellDataSet
follow a distribution that is roughly lognormal, I ran the following code:
qplot(value, geom = "density", data = melted_dens_df) +
stat_function(fun = dnorm, size = 0.5, color = 'red') +
xlab("Standardized log(FPKM)") +
ylab("Density")
It gave an error:
Warning messages:
1: Removed 42430640 rows containing non-finite values (stat_density).
2: Computation failed in `stat_function()`:
'from' must be a finite number
Can anyone help me understand what the fix is for this? Thank you so much!
Reply all
Reply to author
Forward
0 new messages