powered by
Filter our clonotypes with low incidence in a specific group.
pubRepFilter(.pr, .meta, .by, .min.samples = 1)
Public repertoires, an output from pubRep.
Metadata file.
Named character vector. Names of the group to filter by.
Integer. Filter out clonotypes with the number of samples below than this number.
Data frame with filtered clonotypes.
# NOT RUN { data(immdata) immdata$data <- lapply(immdata$data, head, 2000) pr <- pubRep(immdata$data, .verbose=FALSE) pr1 <- pubRepFilter(pr, immdata$meta, .by = c(Status = "MS")) head(pr1) # }
Run the code above in your browser using DataLab