Displaying 2 results from an estimated 2 matches for "nonzero_row".
2017 Jun 21
1
getting error while trying to make dendogram based on gene expression
...Matrix = read.table("count.row.txt",header=T,sep='\t',check.names=F)
colnames(countMatrix)
count_matrix <- countMatrix[,-1] # remove first column
(gene names)
rownames(count_matrix) <- countMatrix[,1] #added first column gene
names as rownames)
> nonzero_row <- count_matrix[rowSums(count_matrix) > 0, # removed row sum
0 across all sample
> x1= as.matrix(nonzero_row) # converted data into matrix
> x=log2(x1+1) # converted into
log value
> d <- dist(x, method="euclidean&...
2017 Jun 22
0
Getting error in dendogram based on gene expression
...Matrix = read.table("count.row.txt",header=T,sep='\t',check.names=F)
colnames(countMatrix)
count_matrix <- countMatrix[,-1] # remove first column
(gene names)
rownames(count_matrix) <- countMatrix[,1] #added first column gene
names as rownames)
> nonzero_row <- count_matrix[rowSums(count_matrix) > 0, # removed row sum
0 across all sample
> x1= as.matrix(nonzero_row) # converted data into matrix
> x=log2(x1+1) # converted into
log value
> d <- dist(x, method="euclidean&...