View source: R/doBatchCloneAnalysis.R
doBatchCloneAnalysis | R Documentation |
This function loops through clones and perform IgPhyML phylogenetic tree inference and arborescence tree construction, and calculates tree metrics, as detailed in vignette of this package.
doBatchCloneAnalysis(
inputDF,
outputFolder,
species = "Human",
minCloneSize = 3,
sequence_column = "Sequence",
cloneID_column = "CloneID",
label_column = "Seq_ID",
colourColumn = "Subclass",
IGHVgeneandallele_column = "V.GENE.and.allele",
germlineSet = NULL,
plotFormat = "png",
phyloTreeType = "simple",
phyloTreeOptions = NULL,
makeArboTree = TRUE,
useTempDir = TRUE
)
inputDF |
input data.frame containing repertoire data. |
outputFolder |
character, path for the folder where output files are to be stored. |
species |
characer, species. For now only "Human" is supported and accepted. |
minCloneSize |
numeric, minimum clone size to be considered for tree inference. (default: 3) |
sequence_column |
character, column name in |
cloneID_column |
character, column name in |
label_column |
character, column name in |
colourColumn |
character, column name in |
IGHVgeneandallele_column |
character, column name in |
germlineSet |
Optional, filepath pointing to a FASTA file containing germline sequences to be used. (default: NULL) |
plotFormat |
Either 'png' or 'pdf' (default: 'png') |
phyloTreeType |
"simple", "dnapars" or "igphyml". "simple" refers to a neighbour-joining tree; "dnapars" constructs a maximum parsimony tree using the phylip "dnapars" program (a local installation of the program is required). "igphyml" constructs a maximum likelihood tree taking into account mutational hotspot contexts in immunoglobulins, but is the most time consuming. (default: "dnapars") |
phyloTreeOptions |
A list to be fed as the 'parameter' entry in the |
makeArboTree |
Should arborescence tree be calculated? (default: TRUE) |
useTempDir |
If |
A list with each element named by a clone ID, each itself a list with two elements:
data.frame with the distance-from-germline calculated from the lineage trees for each sequence in the clone. See Vignette for details.
data.frame listing all class-switching events and an estimate distance-from-germline at which such event takes place.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.