16.01.2015 Views

Package 'WGCNA' - Laboratory Web Sites - UCLA

Package 'WGCNA' - Laboratory Web Sites - UCLA

Package 'WGCNA' - Laboratory Web Sites - UCLA

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

44 goodGenesMS<br />

Details<br />

For multiset calculations, many quantities (such as expression data, traits, module eigengenes etc)<br />

are presented by a common structure, a vector of lists (one list for each set) where each list has<br />

a component data that contains the actual (expression, trait, eigengene) data for the corresponding<br />

set in the form of a dataframe. This funtion creates a vector of lists of length 1 and fills the<br />

component data with the content of parameter data.<br />

Value<br />

As described above, input data in a format suitable for functions operating on multiset data collections.<br />

Author(s)<br />

Peter Langfelder, 〈Peter.Langfelder@gmail.com〉<br />

See Also<br />

checkSets<br />

Examples<br />

singleSetData = matrix(rnorm(100), 10,10);<br />

encapsData = fixDataStructure(singleSetData);<br />

length(encapsData)<br />

names(encapsData[[1]])<br />

dim(encapsData[[1]]$data)<br />

all.equal(encapsData[[1]]$data, singleSetData);<br />

goodGenesMS<br />

Filter genes with too many missing entries across multiple sets<br />

Description<br />

This function checks data for missing entries and returns a list of genes that have non-zero variance<br />

in all sets and pass two criteria on maximum number of missing values in each given set: the fraction<br />

of missing values must be below a given threshold and the total number of missing samples must<br />

be below a given threshold<br />

Usage<br />

goodGenesMS(multiExpr,<br />

useSamples = NULL,<br />

useGenes = NULL,<br />

minFraction = 1/2,<br />

minNSamples = ..minNSamples,<br />

minNGenes = ..minNGenes,<br />

verbose = 1, indent = 0)

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!