Statistics about training data.
trnStats(listPre, listPost, field, count, copyrange)
listPre | Vector of negative training samples. |
---|---|
listPost | Vector of positive training samples. |
field | String containing the column or columns (space-delimited) of interest. |
count | String containing the column name for colontype counts. |
copyrange | Integer Vector of the min and max copy of a sequence, within a sample, to be considered. |
Dataframe containing number of samples, colonotypes, and unique seqs in training data.
FIELD <- "vGeneName aminoAcid jGeneName" COUNT <- "copy" P_CUTOFF <- 0.1 MIN_PUBLIC <- 2 COPY_RANGE <- "1 99" listPos <- tsvDir(system.file("extdata", "Pre", package="iCAT")) listNeg <- tsvDir(system.file("extdata", "Post", package="iCAT")) trnStats(listPos, listNeg, FIELD, COUNT, COPY_RANGE)#> # Samples # Unique Sequences # Clonotypes #> Negative 32 714522 2049383 #> Positive 58 573612 1581438