Description Usage Arguments Value See Also Examples
View source: R/similarityMatrix.R
Calculates the similarity score of all pairwise comparison from a list of data frames.
1 | similarityMatrix(productive.seqs)
|
productive.seqs |
A list data frames of productive sequences generated by the LymphoSeq function productiveSeq. "count" and "aminoAcid" are a required columns. |
A data frame of similarity scores calculated from all pairwise comparisons. The similarity scores is a measure of the amount of overlap between two samples. The value ranges from 0 to 1 where 1 indicates the sequence frequencies are identical in the two samples and 0 indicates no shared frequencies.
pairwisePlot
for plotting results as a heat map.
1 2 3 4 5 6 7 | file.path <- system.file("extdata", "TCRB_sequencing", package = "LymphoSeq")
file.list <- readImmunoSeq(path = file.path)
productive.aa <- productiveSeq(file.list = file.list, aggregate = "aminoAcid")
similarityMatrix(productive.seqs = productive.aa)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.