Displaying 1 result from an estimated 1 matches for "tma2".
Did you mean:
tm2
2009 Dec 17
1
Help with Merge - unexpected loss of factor level
...levels(tma$tumourA)
[1] "DCIS" "LN Metastasis" "Normal" "Primary Invasive Carcinoma"
#split into cancer and normal tissue
> tma1<-subset(tma, tumourA=="Primary Invasive Carcinoma")
> tma2<-subset(tma, tumourA=="LN Metastasis")
> tmaN<-subset(tma, tumourA=="Normal")
#size of datasets
> dim(tma1)
[1] 587 9
> dim(tma2)
[1] 323 9
> dim(tmaN)
[1] 142 9
#merge back with normal type
> tma1.1<-merge(tmaN, tma1, by="Code")
>...