« first day (1329 days earlier)      last day (1960 days later) » 

5:59 AM
Hello :)
 
37 messages moved to Trash can
 
6:22 AM
@RonakShah gone :-)
 
@Jaap thanks but I don't think that is what OP is looking for.. OP is trying to number similar rows.
 
@RonakShah do you think so? it doesn't look like that (imo) when you look at the expected output
 
haha...actually I think it is co-incidence that the expected output is same as the dupe target but OP mentions "I want to number the identical lines together with the same number" and also the title is on the same lines
 
@RonakShah changed the target, should be ok now :-)
 
7:25 AM
Good morning all
@Frank Indeed. I want to use it here at work. We have a perfect use case for it so I need to get acclimated with it
 
Hello
 
@Sotos that's how I learn a lot of stuff too, next on the list for me: workflow managers like Airflow (Python), drake (R) or Luigi (Python)
 
7:41 AM
@Jaap same here. Unless I have to rush it... :)
Are those like funcy gantt charts?
 
@Sotos not necessarily; they are meant to manage worklows of tasks (in my case: R-scripts) that depend on each other
see here for an non-exhaustive list of R-related code/packages
 
@Jaap Nice. I 'll give that a read at lunch break. Cheers
 
8:16 AM
Hello hello :-)
 
@Sotos nice answer. :)
but do you know why df[TRUE] <- NA doesn't work if we want to change all values?
 
@RonakShah I m not sure but maybe because df[TRUE] or df[1:2] are trying to make the conversion columnar and df[!is.na(df)] is doing it for each value independently.. (??)
 
8:33 AM
I don't understand this post, when would you do this? stackoverflow.com/q/53719387/680068
 
@Sotos your answer is definitely the best one :-)
 
@Cath cheers :)...assuming they want to do it on all columns
 
OP says merging... but when you merge, then you get NAs anyway
 
@zx8754 No idea either. Can not think of a scenario
 
8:54 AM
haha..is that an answer? :P
 
I m not sure. If it's an answer then the question is a typo.
 
Maybe other planets?
 
hehe...in an alternate universe where days are 63 hours long, weeks 12 days, and years 23 months :p
 
Yeah wierd month is defined by moon orbit in days... wonder what would be a month if we have 1+ moon
wondering if there is a date.time class for other planets in R
 
maybe we ought to make a package for that (ETF - Extra Terrestrial Functions)
 
9:29 AM
@Cath but why does it happen with seq(from=-1.4,to=1.4, by=0.2) but not with the from = -1.5 ? For this one
 
Something to do with odd and even, can't remember
 
Does anyone have experience with heatmap/heatmap.2, heatmap3? As soon as I try to flip the image using t(), I lose colors.
 
@Sotos it's just with some numbers (/fractions) that it behaves strangely and not with others...
@RomanLuštrik I used to use heatmap.2
imo best thing: just use image then you can do whatever you want
 
The problem is I need the dendrograms as well.
 
Maybe losing some attr when using t()?
 
9:45 AM
The names appear to be there...
 
Post a Q with repro?
 
So far I've been solving the issue with scaling everything.
 
Try biostars, there is Kevin seems to know a lot about heatmaps
 
Yeah, I've been reading a lot of posts from ther.e
 
@RomanLuštrik I draw them separately (layout)
@RomanLuštrik data and expected output please ;-)
 
9:49 AM
If I don't find anything by the end of the day, I'll go for it, thanks.
Oh, look, there's a heatmaply package.
Quite slow rendering for my number of genes, though.
 
 
4 hours later…
2:08 PM
very excited to have found this function stringi::stri_list2matrix
 
3:05 PM
@Sotos How is this better than do.call?
 
is this a standard merge dupe? stackoverflow.com/questions/53726663/…
 
@RomanLuštrik do.call will not work since the lengths are different.
 
Ah, THAT edge case which turns out to be the norm.
 
3:27 PM
Need a strong and random password? Generate one here
 
If you're using LastPass, it can generate one for you.
 

« first day (1329 days earlier)      last day (1960 days later) »