Displaying 2 results from an estimated 2 matches for "igkc".
Did you mean:
igc
2008 Jun 23
2
Writing Vector to a File
...--Control GAPDH TPT1 HUWE1 PRM1 CKM OPHN1
[29] GAPDH ACTA1 PTGDS S100A8 EEF1A1 APOD CALM2
[36] TPT1 TUBA1B MT2A PTPRO AL581768 TUBA1B FTL
[43] --Control NM_001403 TUBA1B TNNC2 TUBA1B IGL@ --Control
[50] TUBA1C IGKC AA809056 IGKC TTN GH1 HBG2
[57] TUBA1C MB GH1 GH1 MT1X UBB GH1
[64] IGL@ MBP VIM GH1 ACTB HBG2 TTR
[71] GH1 --Control MYL2 CFL1 EEF1A1 RPL37A IGHG3
[78] PIP --Control HBG1 K...
2008 Jun 06
6
Subsetting to unique values
I want to take the first row of each unique ID value from a data frame.
For instance
> ddTable <-
data.frame(Id=c(1,1,2,2),name=c("Paul","Joe","Bob","Larry"))
I want a dataset that is
Id Name
1 Paul
2 Bob
> unique(ddTable)
Will give me all 4 rows, and
> unique(ddTable$Id)
Will give me c(1,2), but not accompanied by the name column.