meltgene {IMGTStatClonotype}R Documentation

List of IMGT V and J genes

Description

This function allows the creation of a new matrix grouping the columns vgene, dgene and jgene in one column with their identifier (ID).

Usage

meltgene(data, ..., variable.name = "Gene_Type", value.name = "Gene_Name")

Arguments

data

a set from the IMGT/HighV-QUEST output

...

further arguments passed to or from other methods

variable.name

name of variable used to store measured variable names, by default "Gene_Type"

value.name

name of variable used to store values, by default "Gene_Name"

Details

This function must be applied for the two sets from the IMGT/HighV-QUEST output to be compared. It is based on the function melt of the package reshape2.

Value

New matrix with 4 columns: "expid" (Experimental ID), "total" (Total nb of '1 copy' and 'More than one'), "Gene_Type" (V D or J genes), "Gene_Name" (Gene names).

References

Wickham H. (2007) Reshaping Data with the reshape Package. Journal of Statistical Software, 21(12), 1-20. http://www.jstatsoft.org/v21/i12/

Examples


set1<-meltgene(MID1)
set2<-meltgene(MID2)


[Package IMGTStatClonotype version 1.0.3 Index]