findClusters | R Documentation |
Return matched clusters that are avliable for plotting using plotClustersHeatmap
function. The user can leave the clusterIDs as NULL
to export a full table of all the avliable cluster and its corresponding peptide IDs. After identifying the uniqueID, the user can then perceed with plotting by the unique ID or by the cluster in which the peptide belongs to.
findClusters(
netPhorceData = netPhorceData,
clusterIDs = NULL,
heatmapType = "Significant",
minQVal = 0.05,
verbose = TRUE
)
netPhorceData |
(Required). Processed NetPhorce Object |
clusterIDs |
(Required). Select a specific cluster number. |
heatmapType |
(Required). Either "Significant" or "AbsencePresence" are required. "Significant" for the unique peptide IDs that were significantly differentially phosphorylated peptides. "AbsencePresence" for the unique peptide IDs that were absent at least one-time point. |
minQVal |
(Optional). A q-value threshold only for heatmapType == |
verbose |
If TRUE, the function will return all the peptides along with its cluster number in a table format when the clusterIDs is |
list of data.frames
## Not run:
## Loading Two Conditions Example
data("twoConditionsExample")
## Identify the Key Columns
identifiedCols <- confirmColumnNames(rawMaxQuant = twoConditionsExample,
positionCol = "Position",
reverseCol = "Reverse",
localizationProbCol = "Localization prob",
potentialContaminationCol = "Potential contaminant",
aminoAcidCol = "Amino acid",
uniqueIDCol = "Protein",
seqWindowIDCol = "Sequence window",
fastaIDCol = "Fasta headers")
## Identify the Intensity Columns with Condition, Time Point and Replication Information
intensityCols <- confirmIntensityColumns(rawMaxQuant = twoConditionsExample,
intensityPattern = "con_time_rep",
verbose = TRUE)
## Process the data based on the identified columns
netPhorceData <- processData(rawMaxQuant = twoConditionsExample,
processedColNames = identifiedCols,
processedIntensity = intensityCols,
minReplication = 3,
minLocalProb = 0.75)
## Returns all available peptides along with IDs from Significant Set
clusterIDs_Sig <-
findClusters(netPhorceData = netPhorceData,
clusterIDs = c(0),
heatmapType = "Significant",
minQVal = 0.1,
verbose = TRUE)
## Returns all available peptides Identify Cluster IDs from “AbsencePresence” Set
clusterIDs_AbsPrs <-
findClusters(netPhorceData = netPhorceData,
clusterIDs = c(1, 2),
heatmapType = "AbsencePresence",
verbose = TRUE)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.