Description Usage Arguments Details Value See Also Examples
View source: R/general_functions.R
Generates a new dataset with summarized replicates. Keeps wells/spots with SpotType
-1 in the dataset, but intensity values are replaced with NA
.
1 | summarizeRepsNoFiltering(data, funSum, col4val, col4anno, cols2del)
|
data |
an R data frame generated with |
funSum |
a function used to summarize the values of a replicate, e.g. |
col4val |
a character vector (containing for example |
col4anno |
a character string specifying the name of the dataset column to be used to define the replicate, e.g. |
cols2del |
a character vector containing the columns to delete, for example |
All columns containing replicate values will be summarized by funSum
. For all columns containing positions, screen numbers, plate numbers, etc., all information for different replicates will be kept, comma-separated. All columns containing standard deviations of channels should be specified in colnames2delete
.
Returns the summarized dataset.
summarizeReps
, eraseDataSetColumn
, generateReplicateMat
, generateRepMatNoFilter
, mean
, median
, rms
, trim
, max
, min
, closestToZero
, furthestFromZero
1 2 3 4 | data(exampleDataset, package="RNAither")
colname4val <- c("SigIntensity", "Background", "NbCells", "PercCells")
summarizeddataset <- summarizeRepsNoFiltering(dataset, mean, colname4val, "GeneName", "SDSIntensity")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.