Sunday, June 24, 2007

Flow: The Psychology of Optimal Experience

I have been thinking about how to be happy in my life for a long time as this question is the life time problem for the rest of the world. Could I be happy if I become rich? have high social status? or wonderful family with beautiful wife? Through the course of thinking, I can say that these kind of material, visuable things could not make me happy.

My answer to the question is that only when we do what we love to do and enjoy. Success is also the result of this way of life. Anyone who do what they enjoy can be happy. But not all of them achieve success in terms of material world. People just think that people with bunch of visuable things did success. When they say so, they only concern about the success in society. But we can't say that a person is successful if s/he think they are not happy.

My definition of success is the same as being happy. How to be happy and successful at the same time then? The book 'Flow: The Psychology of Optimal Experience' answers to this question.

Tuesday, June 19, 2007

Perl programming common error

Array 변수를 for 문에서 사용시 for 문 안에서 Array 변수를 받은 iterater에 변화를 주면 Array에 있는 실제 변수에 permanent한 변화가 가해진다.

Exam)

@data=('Good_haha','Bad_haha');

for $i(@data)
{
$i=~s/\_haha//g;
}

에서 data array의 변수를 받은 iterater $i에 가해진 정규식 substitution ( _haha 를 잘라낸다)
은 @data의 실제 변수들에 변화를 가한다.

$i는 @data의 변수 그 자체이지, 이를 call by value로 받은 지역 변수가 아니다.

Monday, June 18, 2007

Bioconductor package에서의 DEG finding method 사용시 유의 사항

다양한 DEG finding method들이 존재하지만, 이들 방법론들이 기본적으로 가정하는 내용들은 서로 다르다. 따라서 특정 method에서 원하는 가정을 했던 경험을 바탕으로 다른 method들에서도 같은 가정을 전제한다고 생각한다면 원치않는 잘못된 결과를 얻게 된다.

Package DEDS의 경우

Fold change=mean(Ms)-mean(Mc)

의 공식으로 계산된다. 여기서는 각 Microarray intensity가 이미 log계산을 거친 값이라고 가정하고 있으므로, log(Ms/Mc)의 fold change값을 얻게 되지만, normalization method에 따라 log 계산을 거치지 않은 경우도 많으므로 data type의 check와 각 계산법의 가정의 체크가 필요하다

Sunday, June 17, 2007

MindSet

Once I found an interesting research about what makes people success or failure on news. It was done for over than 30 years by a woman researcher at Stanford and has been published as a book, Mindset.

The core of it is that a person who suceed believe a distinguished ability could be achived by continuous effort while a person who fail believe it's determined when we born.

Yes, that's true. As lots of authors of biography insist that effort can change our life, we can really change our life if we have a passion and effort with a belief that our ability would be improved someday.