Description Usage Arguments Value
View source: R/internal_functions.R
sortDFByGene
Sort the data.frame
by the genes names or position. For sorting by gene names the sortAlleles
function by TIgGER is used.
For sorting by position the defualt package gene location list is used.
1 2 3 4 5 6 7 8 9 | sortDFByGene(
DATA,
chain = c("IGH", "IGK", "IGL"),
method = c("name", "position"),
removeIGH = FALSE,
geno = FALSE,
peseudo_remove = F,
ORF_remove = F
)
|
DATA |
data frame to sort |
chain |
the Ig chain: IGH,IGK,IGL. Default is IGH. |
method |
the method for sorting the genes. If by 'name' the genes in the output are ordered lexicographically, if by 'position' only functional genes are used and are ordered by their chromosomal location. Default is 'position'. |
removeIGH |
if TRUE, 'IGH'\'IGK'\'IGL' prefix is removed from gene names. |
sorted data.frame
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.