ConsensusFromDataframe | R Documentation |
Create Consensus Object from Data Frame
ConsensusFromDataframe( Df, properties = NULL, rm_allele = FALSE, verbose = TRUE )
Df |
data.frame. |
properties |
list. |
rm_allele |
logical. remove allele, such as TRA1-1*01 to TRA1-1. |
verbose |
logical. |
an object of consensus
# file paths airr_file = system.file('extdata', '10x_airr_rearrangement.tsv.gz', package = 'TrustVDJ') contig_file = system.file('extdata', '10x_all_contig_annotations.csv.gz', package = 'TrustVDJ') # read file data = Read10x(airr_file = airr_file, contig_file = contig_file) # create consensus object consensus = ConsensusFromDataframe(data, properties = list( ConsenID = 'raw_consensus_id', ClonoID = 'clone_id', Barcode = 'cell_id', Vgene = 'v_call', Dgene = 'd_call', Jgene = 'j_call', Cgene = 'c_call', UMIs = 'duplicate_count', Reads = 'consensus_count') ) consensus
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.