Description Usage Arguments Value Examples
View source: R/clumps_analysis.R
Conduct the mutation mapping analysis based on protein 3D structures
1 2 3 4 5 6 7 8 9 | clumpsAnalysis(
gene0,
SNPlist0,
gene_annotation0,
pdb,
sstart0,
send0,
input_dir = TRUE
)
|
gene0 |
A gene systematic name |
SNPlist0 |
A SNP list for the strains from specific phenotype |
gene_annotation0 |
The gene annotation summary |
pdb |
The dir store the residue distance matrix, should be a txt file seperated by ',' or it is a residue distance matrix |
sstart0 |
The start residue coordinate for the resdiues in the PDB file |
send0 |
The end residue coordinate for the residues in the PDB file |
input_dir |
A logical vector |
p_value
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 | # Load the gene feature gene and SNP dataset
data('gene_feature0')
data('snp_data')
# Annotate the SNP
mutated_gene <- annotateSNP(snp_input = snp_data, gene_feature = gene_feature0)
# Load the residue distance matrix
data('ResidueDistance_YPR184W')
# Get the SNP list for specific gene
mutated_gene1 <- filter(mutated_gene, Gene2 == 'YPR184W')
result0 <- clumpsAnalysis(gene0 = 'YPR184W',
SNPlist0 = mutated_gene1,
gene_annotation0 = gene_feature0,
pdb = ResidueDistance_YPR184W,
sstart0 = 2,
send0 = 1534,
input_dir= FALSE)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.